C# Класс Xwt.WPFBackend.DataConverter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
DeleteObject ( IntPtr o ) : int

Описание методов

AsImageSource() публичный статический Метод

public static AsImageSource ( object nativeImage ) : System.Windows.Media.ImageSource
nativeImage object
Результат System.Windows.Media.ImageSource

ToDataObject() публичный статический Метод

public static ToDataObject ( this data ) : System.Windows.DataObject
data this
Результат System.Windows.DataObject

ToImageSource() публичный статический Метод

public static ToImageSource ( this img ) : System.Windows.Media.ImageSource
img this
Результат System.Windows.Media.ImageSource

ToInt32Rect() публичный статический Метод

public static ToInt32Rect ( this rect ) : System.Windows.Int32Rect
rect this
Результат System.Windows.Int32Rect

ToTextAlignment() публичный статический Метод

public static ToTextAlignment ( this alignment ) : System.Windows.TextAlignment
alignment this
Результат System.Windows.TextAlignment

ToWpfAlignment() публичный статический Метод

public static ToWpfAlignment ( this alignment ) : System.Windows.HorizontalAlignment
alignment this
Результат System.Windows.HorizontalAlignment

ToWpfButton() публичный статический Метод

public static ToWpfButton ( this value ) : MouseButton
value this
Результат MouseButton

ToWpfColor() публичный статический Метод

public static ToWpfColor ( this color ) : System.Windows.Media.Xwt.Drawing.Color
color this
Результат System.Windows.Media.Xwt.Drawing.Color

ToWpfDataFormat() публичный статический Метод

public static ToWpfDataFormat ( this type ) : string
type this
Результат string

ToWpfDock() публичный статический Метод

public static ToWpfDock ( this value ) : System.Windows.Controls.Dock
value this
Результат System.Windows.Controls.Dock

ToWpfDropEffect() публичный статический Метод

public static ToWpfDropEffect ( this value ) : DragDropEffects
value this
Результат DragDropEffects

ToWpfFontStretch() публичный статический Метод

public static ToWpfFontStretch ( this value ) : System.Windows.Xwt.Drawing.FontStretch
value this
Результат System.Windows.Xwt.Drawing.FontStretch

ToWpfFontStyle() публичный статический Метод

public static ToWpfFontStyle ( this value ) : System.Windows.Xwt.Drawing.FontStyle
value this
Результат System.Windows.Xwt.Drawing.FontStyle

ToWpfFontWeight() публичный статический Метод

public static ToWpfFontWeight ( this value ) : System.Windows.Xwt.Drawing.FontWeight
value this
Результат System.Windows.Xwt.Drawing.FontWeight

ToWpfPoint() публичный статический Метод

public static ToWpfPoint ( this point ) : Point
point this
Результат System.Windows.Point

ToWpfRect() публичный статический Метод

public static ToWpfRect ( this rect ) : Rect
rect this
Результат System.Windows.Rect

ToWpfScrollBarVisibility() публичный статический Метод

public static ToWpfScrollBarVisibility ( this policy ) : System.Windows.Controls.ScrollBarVisibility
policy this
Результат System.Windows.Controls.ScrollBarVisibility

ToXwtAlignment() публичный статический Метод

public static ToXwtAlignment ( this alignment ) : Alignment
alignment this
Результат Alignment

ToXwtButton() публичный статический Метод

public static ToXwtButton ( this value ) : PointerButton
value this
Результат PointerButton

ToXwtColor() публичный статический Метод

public static ToXwtColor ( this color ) : Xwt.Drawing.Color
color this
Результат Xwt.Drawing.Color

ToXwtDropAction() публичный статический Метод

public static ToXwtDropAction ( this value ) : DragDropAction
value this
Результат DragDropAction

ToXwtFontStretch() публичный статический Метод

public static ToXwtFontStretch ( this value ) : Xwt.Drawing.FontStretch
value this
Результат Xwt.Drawing.FontStretch

ToXwtFontStyle() публичный статический Метод

public static ToXwtFontStyle ( this value ) : Xwt.Drawing.FontStyle
value this
Результат Xwt.Drawing.FontStyle

ToXwtFontWeight() публичный статический Метод

public static ToXwtFontWeight ( this value ) : Xwt.Drawing.FontWeight
value this
Результат Xwt.Drawing.FontWeight

ToXwtPoint() публичный статический Метод

public static ToXwtPoint ( this point ) : Point
point this
Результат Point

ToXwtRect() публичный статический Метод

public static ToXwtRect ( this rect ) : Rectangle
rect this
Результат Rectangle

ToXwtScrollPolicy() публичный статический Метод

public static ToXwtScrollPolicy ( this visibility ) : ScrollPolicy
visibility this
Результат ScrollPolicy

ToXwtTransferType() публичный статический Метод

public static ToXwtTransferType ( this type ) : TransferDataType
type this
Результат TransferDataType