C# Class InTheHand.ApplicationModel.DataTransfer.Clipboard

Gets and sets information from the clipboard object.
PlatformVersion supported AndroidAndroid 4.4 and later iOSiOS 9.0 and later macOSOS X 10.7 and later Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Mostrar archivo Open project: inthehand/Charming

Public Methods

Method Description
Clear ( ) : void

Removes all data from the Clipboard.

GetContent ( ) : DataPackageView

Gets the current content that is stored in the clipboard object.

SetContent ( DataPackage content ) : void

Sets the current content that is stored in the clipboard object.

Private Methods

Method Description
Clipboard ( ) : System
EmptyClipboard ( ) : void
GetText ( ) : string
SetText ( string text ) : void

Method Details

Clear() public static method

Removes all data from the Clipboard.
public static Clear ( ) : void
return void

GetContent() public static method

Gets the current content that is stored in the clipboard object.
public static GetContent ( ) : DataPackageView
return DataPackageView

SetContent() public static method

Sets the current content that is stored in the clipboard object.
public static SetContent ( DataPackage content ) : void
content DataPackage Contains the content of the clipboard. /// If NULL, the clipboard is emptied.
return void