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