C# Class Xwt.WPFBackend.DataConverter

ファイルを表示 Open project: TheBrainTech/xwt Class Usage Examples

Public Methods

Method 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

Method Description
DeleteObject ( IntPtr o ) : int

Method Details

AsImageSource() public static method

public static AsImageSource ( object nativeImage ) : System.Windows.Media.ImageSource
nativeImage object
return System.Windows.Media.ImageSource

ToDataObject() public static method

public static ToDataObject ( this data ) : System.Windows.DataObject
data this
return System.Windows.DataObject

ToImageSource() public static method

public static ToImageSource ( this img ) : System.Windows.Media.ImageSource
img this
return System.Windows.Media.ImageSource

ToInt32Rect() public static method

public static ToInt32Rect ( this rect ) : System.Windows.Int32Rect
rect this
return System.Windows.Int32Rect

ToTextAlignment() public static method

public static ToTextAlignment ( this alignment ) : System.Windows.TextAlignment
alignment this
return System.Windows.TextAlignment

ToWpfAlignment() public static method

public static ToWpfAlignment ( this alignment ) : System.Windows.HorizontalAlignment
alignment this
return System.Windows.HorizontalAlignment

ToWpfButton() public static method

public static ToWpfButton ( this value ) : MouseButton
value this
return MouseButton

ToWpfColor() public static method

public static ToWpfColor ( this color ) : System.Windows.Media.Xwt.Drawing.Color
color this
return System.Windows.Media.Xwt.Drawing.Color

ToWpfDataFormat() public static method

public static ToWpfDataFormat ( this type ) : string
type this
return string

ToWpfDock() public static method

public static ToWpfDock ( this value ) : System.Windows.Controls.Dock
value this
return System.Windows.Controls.Dock

ToWpfDropEffect() public static method

public static ToWpfDropEffect ( this value ) : DragDropEffects
value this
return DragDropEffects

ToWpfFontStretch() public static method

public static ToWpfFontStretch ( this value ) : System.Windows.Xwt.Drawing.FontStretch
value this
return System.Windows.Xwt.Drawing.FontStretch

ToWpfFontStyle() public static method

public static ToWpfFontStyle ( this value ) : System.Windows.Xwt.Drawing.FontStyle
value this
return System.Windows.Xwt.Drawing.FontStyle

ToWpfFontWeight() public static method

public static ToWpfFontWeight ( this value ) : System.Windows.Xwt.Drawing.FontWeight
value this
return System.Windows.Xwt.Drawing.FontWeight

ToWpfPoint() public static method

public static ToWpfPoint ( this point ) : Point
point this
return System.Windows.Point

ToWpfRect() public static method

public static ToWpfRect ( this rect ) : Rect
rect this
return System.Windows.Rect

ToWpfScrollBarVisibility() public static method

public static ToWpfScrollBarVisibility ( this policy ) : System.Windows.Controls.ScrollBarVisibility
policy this
return System.Windows.Controls.ScrollBarVisibility

ToXwtAlignment() public static method

public static ToXwtAlignment ( this alignment ) : Alignment
alignment this
return Alignment

ToXwtButton() public static method

public static ToXwtButton ( this value ) : PointerButton
value this
return PointerButton

ToXwtColor() public static method

public static ToXwtColor ( this color ) : Xwt.Drawing.Color
color this
return Xwt.Drawing.Color

ToXwtDropAction() public static method

public static ToXwtDropAction ( this value ) : DragDropAction
value this
return DragDropAction

ToXwtFontStretch() public static method

public static ToXwtFontStretch ( this value ) : Xwt.Drawing.FontStretch
value this
return Xwt.Drawing.FontStretch

ToXwtFontStyle() public static method

public static ToXwtFontStyle ( this value ) : Xwt.Drawing.FontStyle
value this
return Xwt.Drawing.FontStyle

ToXwtFontWeight() public static method

public static ToXwtFontWeight ( this value ) : Xwt.Drawing.FontWeight
value this
return Xwt.Drawing.FontWeight

ToXwtPoint() public static method

public static ToXwtPoint ( this point ) : Point
point this
return Point

ToXwtRect() public static method

public static ToXwtRect ( this rect ) : Rectangle
rect this
return Rectangle

ToXwtScrollPolicy() public static method

public static ToXwtScrollPolicy ( this visibility ) : ScrollPolicy
visibility this
return ScrollPolicy

ToXwtTransferType() public static method

public static ToXwtTransferType ( this type ) : TransferDataType
type this
return TransferDataType