Class PasteSettings
Represents a configuration of the paste behavior in RadRichTextBox.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class PasteSettings
Constructors
PasteSettings()
Initializes a new instance of the PasteSettings class.
Declaration
public PasteSettings()
Methods
GetAvailablePasteOptions(PasteSource)
Gets a list of available PasteOptions for a given PasteSource.
Declaration
public IEnumerable<PasteOption> GetAvailablePasteOptions(PasteSource pasteSource)
Parameters
PasteSource
pasteSource
Current paste source |
Returns
System.Collections.Generic.IEnumerable<PasteOption>
Available paste options |
GetDefaultPasteOptionForPasteSource(PasteSource)
Gets the default PasteOption for a given PasteSource.
Declaration
public PasteOption? GetDefaultPasteOptionForPasteSource(PasteSource pasteSource)
Parameters
PasteSource
pasteSource
Current paste source |
Returns
System.Nullable<PasteOption>
The default PasteOption |
SetAvailablePasteOptions(PasteSource, IEnumerable<PasteOption>)
Sets a list of available PasteOptions for a given PasteSource.
Declaration
public void SetAvailablePasteOptions(PasteSource pasteSource, IEnumerable<PasteOption> pasteOptions)
Parameters
PasteSource
pasteSource
Current paste source |
System.Collections.Generic.IEnumerable<PasteOption>
pasteOptions
Available paste options |
SetAvailablePasteOptions(PasteSource, PasteOption[])
Sets a list of available PasteOptions for a given PasteSource.
Declaration
public void SetAvailablePasteOptions(PasteSource pasteSource, params PasteOption[] pasteOptions)
Parameters
PasteSource
pasteSource
Current paste source |
PasteOption[]
pasteOptions
Available paste options |
SetDefaultPasteOptionForPasteSource(PasteSource, PasteOption)
Sets the default PasteOptions for a given PasteSource.
Declaration
public void SetDefaultPasteOptionForPasteSource(PasteSource pasteSource, PasteOption pasteOption)
Parameters
PasteSource
pasteSource
Current paste source |
PasteOption
pasteOption
Available paste options |