Contains information about the current paste operation. Suitable for data binding.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class PasteOptionsViewModel : INotifyPropertyChanged
Inheritance: objectPasteOptionsViewModel
Implements:
Constructors
Initializes a new instance of the PasteOptionsViewModel class.
C#
public PasteOptionsViewModel(IEnumerable<PasteOption> availablePasteOptions, PasteOption? selectedPasteOption)
The available paste options.
selectedPasteOptionPasteOption?The selected paste option.
Properties
Gets a list of the available paste options.
C#
public IEnumerable AvailablePasteOptions { get; }
Gets or sets the selected PasteOption.
C#
public PasteOption? SelectedPasteOption { get; set; }
Methods
Raises the PropertyChanged event.
C#
protected void OnPropertyChanged(string propertyName)
The name of the affected property
Events
Occurs when a property value changes.
C#
public event PropertyChangedEventHandler PropertyChanged
Implements: