Class Clipboard
Provides clipboard support.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll
Syntax
public static class Clipboard : Object
Fields
IsEnabledProperty
Identifies the IsEnabled dependency property.
Declaration
public static readonly DependencyProperty IsEnabledProperty
Field Value
System.Windows.DependencyProperty
|
Methods
GetData(KeyEventArgs)
Gets data from the clipboard.
Declaration
public static string GetData(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
|
Returns
System.String
|
GetIsEnabled(DependencyObject)
Gets a value indicating whether clipboard support is enabled.
Declaration
public static bool GetIsEnabled(DependencyObject dependencyObject)
Parameters
System.Windows.DependencyObject
dependencyObject
|
Returns
System.Boolean
|
GetText()
Retrieves Unicode text data from the system clipboard, if Unicode text data exists.
Declaration
public static string GetText()
Returns
System.String
If Unicode text data is present on the system clipboard, returns a string that contains the Unicode text data. Otherwise, returns an empty string. |
SetData(KeyEventArgs, String)
Sets data to the clipboard.
Declaration
public static void SetData(KeyEventArgs e, string data)
Parameters
System.Windows.Input.KeyEventArgs
e
|
System.String
data
|
SetIsEnabled(DependencyObject, Boolean)
Sets a value indicating whether clipboard support is enabled.
Declaration
public static void SetIsEnabled(DependencyObject dependencyObject, bool enabled)
Parameters
System.Windows.DependencyObject
dependencyObject
|
System.Boolean
enabled
|
SetText(String)
Sets Unicode text data to store on the clipboard, for later access with GetText.
Declaration
public static void SetText(string text)
Parameters
System.String
text
A string that contains the Unicode text data to store on the clipboard. |