C# Class Xwt.TransferDataType

Data type to be used in drag & drop and copy & paste operations
Mostrar archivo Open project: TheBrainTech/xwt Class Usage Examples

Public Properties

Property Type Description
Html TransferDataType
Image TransferDataType
Rtf TransferDataType
Text TransferDataType
Uri TransferDataType

Public Methods

Method Description
Equals ( object obj ) : bool
FromId ( string id ) : TransferDataType

Creates a data type using a custom identifier

FromType ( Type type ) : TransferDataType

Creates a transfer data type from a CLR type

This is the data type to be used when transferring whole objects through drag & drop or copy & paste

GetHashCode ( ) : int
operator ( ) : bool

Private Methods

Method Description
TransferDataType ( string id ) : System

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromId() public static method

Creates a data type using a custom identifier
public static FromId ( string id ) : TransferDataType
id string /// The identifier. ///
return TransferDataType

FromType() public static method

Creates a transfer data type from a CLR type
This is the data type to be used when transferring whole objects through drag & drop or copy & paste
public static FromType ( Type type ) : TransferDataType
type System.Type /// A type ///
return TransferDataType

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Html public_oe static_oe property

The HTML data type
public static TransferDataType,Xwt Html
return TransferDataType

Image public_oe static_oe property

The image data type
public static TransferDataType,Xwt Image
return TransferDataType

Rtf public_oe static_oe property

The RTF data type
public static TransferDataType,Xwt Rtf
return TransferDataType

Text public_oe static_oe property

The text data type
public static TransferDataType,Xwt Text
return TransferDataType

Uri public_oe static_oe property

The URI data type. This is used for file and url copy and drag operations
public static TransferDataType,Xwt Uri
return TransferDataType