ClassPasteOptionsViewModel
Class
Contains information about the current paste operation. Suitable for data binding.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
cs-api-definition
public class PasteOptionsViewModel : INotifyPropertyChanged
Inheritance: objectPasteOptionsViewModel
Implements:
Constructors
PasteOptionsViewModel(IEnumerable<PasteOption>, PasteOption?)
Initializes a new instance of the PasteOptionsViewModel class.
Declaration
cs-api-definition
public PasteOptionsViewModel(IEnumerable<PasteOption> availablePasteOptions, PasteOption? selectedPasteOption)
Parameters
availablePasteOptions
The available paste options.
selectedPasteOption
The selected paste option.
Properties
AvailablePasteOptions
Gets a list of the available paste options.
Declaration
cs-api-definition
public IEnumerable AvailablePasteOptions { get; }
Property Value
SelectedPasteOption
Gets or sets the selected PasteOption.
Declaration
cs-api-definition
public PasteOption? SelectedPasteOption { get; set; }
Property Value
Methods
OnPropertyChanged(string)
Raises the PropertyChanged event.
Declaration
cs-api-definition
protected void OnPropertyChanged(string propertyName)
Parameters
propertyName
The name of the affected property
Events
PropertyChanged
Occurs when a property value changes.
Declaration
cs-api-definition
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements