Class PasteOptionsViewModel
Contains information about the current paste operation. Suitable for data binding.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PasteOptionsViewModel : INotifyPropertyChanged
  Constructors
PasteOptionsViewModel(IEnumerable<PasteOption>, Nullable<PasteOption>)
Initializes a new instance of the PasteOptionsViewModel class.
Declaration
public PasteOptionsViewModel(IEnumerable<PasteOption> availablePasteOptions, 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 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
         
  |