C# Class Xwt.WPFBackend.DataConverter

Afficher le fichier Open project: TheBrainTech/xwt Class Usage Examples

Méthodes publiques

Méthode Description
AsImageSource ( object nativeImage ) : System.Windows.Media.ImageSource
ToDataObject ( this data ) : System.Windows.DataObject
ToImageSource ( this img ) : System.Windows.Media.ImageSource
ToInt32Rect ( this rect ) : System.Windows.Int32Rect
ToTextAlignment ( this alignment ) : System.Windows.TextAlignment
ToWpfAlignment ( this alignment ) : System.Windows.HorizontalAlignment
ToWpfButton ( this value ) : MouseButton
ToWpfColor ( this color ) : System.Windows.Media.Xwt.Drawing.Color
ToWpfDataFormat ( this type ) : string
ToWpfDock ( this value ) : System.Windows.Controls.Dock
ToWpfDropEffect ( this value ) : DragDropEffects
ToWpfFontStretch ( this value ) : System.Windows.Xwt.Drawing.FontStretch
ToWpfFontStyle ( this value ) : System.Windows.Xwt.Drawing.FontStyle
ToWpfFontWeight ( this value ) : System.Windows.Xwt.Drawing.FontWeight
ToWpfPoint ( this point ) : Point
ToWpfRect ( this rect ) : Rect
ToWpfScrollBarVisibility ( this policy ) : System.Windows.Controls.ScrollBarVisibility
ToXwtAlignment ( this alignment ) : Alignment
ToXwtButton ( this value ) : PointerButton
ToXwtColor ( this color ) : Xwt.Drawing.Color
ToXwtDropAction ( this value ) : DragDropAction
ToXwtFontStretch ( this value ) : Xwt.Drawing.FontStretch
ToXwtFontStyle ( this value ) : Xwt.Drawing.FontStyle
ToXwtFontWeight ( this value ) : Xwt.Drawing.FontWeight
ToXwtPoint ( this point ) : Point
ToXwtRect ( this rect ) : Rectangle
ToXwtScrollPolicy ( this visibility ) : ScrollPolicy
ToXwtTransferType ( this type ) : TransferDataType

Private Methods

Méthode Description
DeleteObject ( IntPtr o ) : int

Method Details

AsImageSource() public static méthode

public static AsImageSource ( object nativeImage ) : System.Windows.Media.ImageSource
nativeImage object
Résultat System.Windows.Media.ImageSource

ToDataObject() public static méthode

public static ToDataObject ( this data ) : System.Windows.DataObject
data this
Résultat System.Windows.DataObject

ToImageSource() public static méthode

public static ToImageSource ( this img ) : System.Windows.Media.ImageSource
img this
Résultat System.Windows.Media.ImageSource

ToInt32Rect() public static méthode

public static ToInt32Rect ( this rect ) : System.Windows.Int32Rect
rect this
Résultat System.Windows.Int32Rect

ToTextAlignment() public static méthode

public static ToTextAlignment ( this alignment ) : System.Windows.TextAlignment
alignment this
Résultat System.Windows.TextAlignment

ToWpfAlignment() public static méthode

public static ToWpfAlignment ( this alignment ) : System.Windows.HorizontalAlignment
alignment this
Résultat System.Windows.HorizontalAlignment

ToWpfButton() public static méthode

public static ToWpfButton ( this value ) : MouseButton
value this
Résultat MouseButton

ToWpfColor() public static méthode

public static ToWpfColor ( this color ) : System.Windows.Media.Xwt.Drawing.Color
color this
Résultat System.Windows.Media.Xwt.Drawing.Color

ToWpfDataFormat() public static méthode

public static ToWpfDataFormat ( this type ) : string
type this
Résultat string

ToWpfDock() public static méthode

public static ToWpfDock ( this value ) : System.Windows.Controls.Dock
value this
Résultat System.Windows.Controls.Dock

ToWpfDropEffect() public static méthode

public static ToWpfDropEffect ( this value ) : DragDropEffects
value this
Résultat DragDropEffects

ToWpfFontStretch() public static méthode

public static ToWpfFontStretch ( this value ) : System.Windows.Xwt.Drawing.FontStretch
value this
Résultat System.Windows.Xwt.Drawing.FontStretch

ToWpfFontStyle() public static méthode

public static ToWpfFontStyle ( this value ) : System.Windows.Xwt.Drawing.FontStyle
value this
Résultat System.Windows.Xwt.Drawing.FontStyle

ToWpfFontWeight() public static méthode

public static ToWpfFontWeight ( this value ) : System.Windows.Xwt.Drawing.FontWeight
value this
Résultat System.Windows.Xwt.Drawing.FontWeight

ToWpfPoint() public static méthode

public static ToWpfPoint ( this point ) : Point
point this
Résultat System.Windows.Point

ToWpfRect() public static méthode

public static ToWpfRect ( this rect ) : Rect
rect this
Résultat System.Windows.Rect

ToWpfScrollBarVisibility() public static méthode

public static ToWpfScrollBarVisibility ( this policy ) : System.Windows.Controls.ScrollBarVisibility
policy this
Résultat System.Windows.Controls.ScrollBarVisibility

ToXwtAlignment() public static méthode

public static ToXwtAlignment ( this alignment ) : Alignment
alignment this
Résultat Alignment

ToXwtButton() public static méthode

public static ToXwtButton ( this value ) : PointerButton
value this
Résultat PointerButton

ToXwtColor() public static méthode

public static ToXwtColor ( this color ) : Xwt.Drawing.Color
color this
Résultat Xwt.Drawing.Color

ToXwtDropAction() public static méthode

public static ToXwtDropAction ( this value ) : DragDropAction
value this
Résultat DragDropAction

ToXwtFontStretch() public static méthode

public static ToXwtFontStretch ( this value ) : Xwt.Drawing.FontStretch
value this
Résultat Xwt.Drawing.FontStretch

ToXwtFontStyle() public static méthode

public static ToXwtFontStyle ( this value ) : Xwt.Drawing.FontStyle
value this
Résultat Xwt.Drawing.FontStyle

ToXwtFontWeight() public static méthode

public static ToXwtFontWeight ( this value ) : Xwt.Drawing.FontWeight
value this
Résultat Xwt.Drawing.FontWeight

ToXwtPoint() public static méthode

public static ToXwtPoint ( this point ) : Point
point this
Résultat Point

ToXwtRect() public static méthode

public static ToXwtRect ( this rect ) : Rectangle
rect this
Résultat Rectangle

ToXwtScrollPolicy() public static méthode

public static ToXwtScrollPolicy ( this visibility ) : ScrollPolicy
visibility this
Résultat ScrollPolicy

ToXwtTransferType() public static méthode

public static ToXwtTransferType ( this type ) : TransferDataType
type this
Résultat TransferDataType