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 PasteOptionsViewModel class.
Declaration
public PasteOptionsViewModel(IEnumerable<PasteOption> availablePasteOptions, Nullable<PasteOption> selectedPasteOption)
Parameters
System.Collections.Generic.IEnumerable<PasteOption>
availablePasteOptions
The available paste options. |
System.Nullable<PasteOption>
selectedPasteOption
The selected paste option. |
Properties
AvailablePasteOptions
Gets a list of the available paste options.
Declaration
public IEnumerable AvailablePasteOptions { get; }
Property Value
System.Collections.IEnumerable
|
SelectedPasteOption
Gets or sets the selected PasteOption.
Declaration
public Nullable<PasteOption> SelectedPasteOption { get; set; }
Property Value
System.Nullable<PasteOption>
|
Methods
OnPropertyChanged(String)
Raises the PropertyChanged event.
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the affected property |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|