C# Class Eto.Wpf.WpfConversions

Datei anzeigen Open project: picoe/Eto

Public Properties

Property Type Description
PositiveInfinitySize System.Windows.Size
ZeroSize System.Windows.Size

Public Methods

Method Description
Convert ( System.Windows decorations ) : FontDecoration
Convert ( System.Windows fontStyle, System.Windows fontWeight ) : System.Windows.FontStyle
GetMaxSize ( this element ) : Size
GetMinSize ( this element ) : Size
GetSize ( this element ) : Size
SetEtoFamily ( this control, FontFamily fontFamily ) : FontFamily
SetEtoFont ( this control, Font font ) : Font
SetEtoFont ( this control, Font font, Action setDecorations = null ) : Font
SetMaxSize ( this element, Size size ) : void
SetSize ( this element, Size size ) : void
SetSize ( this element, System.Windows size ) : void
ToEto ( this bitmap ) : Bitmap
ToEto ( this mode ) : CalendarMode
ToEto ( this value ) : Color
ToEto ( this spread ) : GradientWrapMode
ToEto ( this value ) : ImageInterpolation
ToEto ( this e, KeyEventType keyType ) : KeyEventArgs
ToEto ( this e, System.Windows control, System.Windows.Input buttonState = swi.MouseButtonState.Pressed ) : MouseEventArgs
ToEto ( this value ) : Padding
ToEto ( this value ) : PageOrientation
ToEto ( this value ) : PenLineCap
ToEto ( this value ) : PenLineJoin
ToEto ( this value ) : Eto.Drawing.PointF
ToEto ( this value ) : PrintSelection
ToEto ( this range ) : Range
ToEto ( this value ) : Eto.Drawing.Rectangle
ToEto ( this value ) : Eto.Drawing.SizeF
ToEto ( this align ) : TextAlignment
ToEto ( this align ) : VerticalAlignment
ToEto ( this style ) : WindowStyle
ToEtoColor ( this brush ) : Color
ToEtoF ( this value ) : Eto.Drawing.RectangleF
ToEtoMatrix ( this transform ) : IMatrix
ToEtoPoint ( this value ) : Point
ToEtoSize ( this value ) : Size
ToEtoTabPosition ( this dock ) : DockPosition
ToPageRange ( this range ) : System.Windows.Controls.PageRange
ToSP ( this value ) : System.Printing.PageOrientation
ToSWC ( this value ) : System.Windows.Controls.PageRangeSelection
ToWpf ( this value ) : System.Windows.Media.BitmapScalingMode
ToWpf ( this image, int size = null ) : System.Windows.Media.Imaging.BitmapSource
ToWpf ( this brush, bool clone = false ) : System.Windows.Media.Brush
ToWpf ( this mode ) : System.Windows.Controls.CalendarSelectionMode
ToWpf ( this value ) : Color
ToWpf ( this position ) : System.Windows.Controls.Dock
ToWpf ( this wrap ) : System.Windows.Media.GradientSpreadMethod
ToWpf ( this align ) : System.Windows.HorizontalAlignment
ToWpf ( this matrix ) : System.Windows.Media.Matrix
ToWpf ( this path ) : System.Windows.Media.PathGeometry
ToWpf ( this pen, bool clone = false ) : System.Windows.Media.Pen
ToWpf ( this value ) : System.Windows.Media.PenLineCap
ToWpf ( this value ) : System.Windows.Media.PenLineJoin
ToWpf ( this value ) : Point
ToWpf ( this value ) : Rect
ToWpf ( this value ) : Size
ToWpf ( this value ) : System.Windows.Thickness
ToWpf ( this align ) : System.Windows.VerticalAlignment
ToWpf ( this style ) : System.Windows.WindowStyle
ToWpfBrush ( this value, System.Windows.Media brush = null ) : System.Windows.Media.Brush
ToWpfImage ( this image, float scale, Size fittingSize = null ) : System.Windows.Controls.Image
ToWpfImage ( this image, int size = null ) : System.Windows.Controls.Image
ToWpfInt32 ( this value ) : System.Windows.Int32Rect
ToWpfScale ( this image, float scale, Size fittingSize = null ) : System.Windows.Media.Imaging.BitmapSource
ToWpfTextAlignment ( this align ) : System.Windows.TextAlignment
ToWpfTransform ( this matrix ) : Transform

Method Details

Convert() public static method

public static Convert ( System.Windows decorations ) : FontDecoration
decorations System.Windows
return FontDecoration

Convert() public static method

public static Convert ( System.Windows fontStyle, System.Windows fontWeight ) : System.Windows.FontStyle
fontStyle System.Windows
fontWeight System.Windows
return System.Windows.FontStyle

GetMaxSize() public static method

public static GetMaxSize ( this element ) : Size
element this
return Size

GetMinSize() public static method

public static GetMinSize ( this element ) : Size
element this
return System.Windows.Size

GetSize() public static method

public static GetSize ( this element ) : Size
element this
return Size

SetEtoFamily() public static method

public static SetEtoFamily ( this control, FontFamily fontFamily ) : FontFamily
control this
fontFamily FontFamily
return FontFamily

SetEtoFont() public static method

public static SetEtoFont ( this control, Font font ) : Font
control this
font Font
return Font

SetEtoFont() public static method

public static SetEtoFont ( this control, Font font, Action setDecorations = null ) : Font
control this
font Font
setDecorations Action
return Font

SetMaxSize() public static method

public static SetMaxSize ( this element, Size size ) : void
element this
size Size
return void

SetSize() public static method

public static SetSize ( this element, Size size ) : void
element this
size Size
return void

SetSize() public static method

public static SetSize ( this element, System.Windows size ) : void
element this
size System.Windows
return void

ToEto() public static method

public static ToEto ( this bitmap ) : Bitmap
bitmap this
return Eto.Drawing.Bitmap

ToEto() public static method

public static ToEto ( this mode ) : CalendarMode
mode this
return CalendarMode

ToEto() public static method

public static ToEto ( this value ) : Color
value this
return Color

ToEto() public static method

public static ToEto ( this spread ) : GradientWrapMode
spread this
return GradientWrapMode

ToEto() public static method

public static ToEto ( this value ) : ImageInterpolation
value this
return ImageInterpolation

ToEto() public static method

public static ToEto ( this e, KeyEventType keyType ) : KeyEventArgs
e this
keyType KeyEventType
return KeyEventArgs

ToEto() public static method

public static ToEto ( this e, System.Windows control, System.Windows.Input buttonState = swi.MouseButtonState.Pressed ) : MouseEventArgs
e this
control System.Windows
buttonState System.Windows.Input
return MouseEventArgs

ToEto() public static method

public static ToEto ( this value ) : Padding
value this
return Padding

ToEto() public static method

public static ToEto ( this value ) : PageOrientation
value this
return PageOrientation

ToEto() public static method

public static ToEto ( this value ) : PenLineCap
value this
return PenLineCap

ToEto() public static method

public static ToEto ( this value ) : PenLineJoin
value this
return PenLineJoin

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.PointF
value this
return Eto.Drawing.PointF

ToEto() public static method

public static ToEto ( this value ) : PrintSelection
value this
return PrintSelection

ToEto() public static method

public static ToEto ( this range ) : Range
range this
return Range

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.Rectangle
value this
return Eto.Drawing.Rectangle

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.SizeF
value this
return Eto.Drawing.SizeF

ToEto() public static method

public static ToEto ( this align ) : TextAlignment
align this
return TextAlignment

ToEto() public static method

public static ToEto ( this align ) : VerticalAlignment
align this
return VerticalAlignment

ToEto() public static method

public static ToEto ( this style ) : WindowStyle
style this
return WindowStyle

ToEtoColor() public static method

public static ToEtoColor ( this brush ) : Color
brush this
return Color

ToEtoF() public static method

public static ToEtoF ( this value ) : Eto.Drawing.RectangleF
value this
return Eto.Drawing.RectangleF

ToEtoMatrix() public static method

public static ToEtoMatrix ( this transform ) : IMatrix
transform this
return IMatrix

ToEtoPoint() public static method

public static ToEtoPoint ( this value ) : Point
value this
return Point

ToEtoSize() public static method

public static ToEtoSize ( this value ) : Size
value this
return Size

ToEtoTabPosition() public static method

public static ToEtoTabPosition ( this dock ) : DockPosition
dock this
return DockPosition

ToPageRange() public static method

public static ToPageRange ( this range ) : System.Windows.Controls.PageRange
range this
return System.Windows.Controls.PageRange

ToSP() public static method

public static ToSP ( this value ) : System.Printing.PageOrientation
value this
return System.Printing.PageOrientation

ToSWC() public static method

public static ToSWC ( this value ) : System.Windows.Controls.PageRangeSelection
value this
return System.Windows.Controls.PageRangeSelection

ToWpf() public static method

public static ToWpf ( this value ) : System.Windows.Media.BitmapScalingMode
value this
return System.Windows.Media.BitmapScalingMode

ToWpf() public static method

public static ToWpf ( this image, int size = null ) : System.Windows.Media.Imaging.BitmapSource
image this
size int
return System.Windows.Media.Imaging.BitmapSource

ToWpf() public static method

public static ToWpf ( this brush, bool clone = false ) : System.Windows.Media.Brush
brush this
clone bool
return System.Windows.Media.Brush

ToWpf() public static method

public static ToWpf ( this mode ) : System.Windows.Controls.CalendarSelectionMode
mode this
return System.Windows.Controls.CalendarSelectionMode

ToWpf() public static method

public static ToWpf ( this value ) : Color
value this
return System.Windows.Media.Color

ToWpf() public static method

public static ToWpf ( this position ) : System.Windows.Controls.Dock
position this
return System.Windows.Controls.Dock

ToWpf() public static method

public static ToWpf ( this wrap ) : System.Windows.Media.GradientSpreadMethod
wrap this
return System.Windows.Media.GradientSpreadMethod

ToWpf() public static method

public static ToWpf ( this align ) : System.Windows.HorizontalAlignment
align this
return System.Windows.HorizontalAlignment

ToWpf() public static method

public static ToWpf ( this matrix ) : System.Windows.Media.Matrix
matrix this
return System.Windows.Media.Matrix

ToWpf() public static method

public static ToWpf ( this path ) : System.Windows.Media.PathGeometry
path this
return System.Windows.Media.PathGeometry

ToWpf() public static method

public static ToWpf ( this pen, bool clone = false ) : System.Windows.Media.Pen
pen this
clone bool
return System.Windows.Media.Pen

ToWpf() public static method

public static ToWpf ( this value ) : System.Windows.Media.PenLineCap
value this
return System.Windows.Media.PenLineCap

ToWpf() public static method

public static ToWpf ( this value ) : System.Windows.Media.PenLineJoin
value this
return System.Windows.Media.PenLineJoin

ToWpf() public static method

public static ToWpf ( this value ) : Point
value this
return System.Windows.Point

ToWpf() public static method

public static ToWpf ( this value ) : Rect
value this
return System.Windows.Rect

ToWpf() public static method

public static ToWpf ( this value ) : Size
value this
return System.Windows.Size

ToWpf() public static method

public static ToWpf ( this value ) : System.Windows.Thickness
value this
return System.Windows.Thickness

ToWpf() public static method

public static ToWpf ( this align ) : System.Windows.VerticalAlignment
align this
return System.Windows.VerticalAlignment

ToWpf() public static method

public static ToWpf ( this style ) : System.Windows.WindowStyle
style this
return System.Windows.WindowStyle

ToWpfBrush() public static method

public static ToWpfBrush ( this value, System.Windows.Media brush = null ) : System.Windows.Media.Brush
value this
brush System.Windows.Media
return System.Windows.Media.Brush

ToWpfImage() public static method

public static ToWpfImage ( this image, float scale, Size fittingSize = null ) : System.Windows.Controls.Image
image this
scale float
fittingSize Size
return System.Windows.Controls.Image

ToWpfImage() public static method

public static ToWpfImage ( this image, int size = null ) : System.Windows.Controls.Image
image this
size int
return System.Windows.Controls.Image

ToWpfInt32() public static method

public static ToWpfInt32 ( this value ) : System.Windows.Int32Rect
value this
return System.Windows.Int32Rect

ToWpfScale() public static method

public static ToWpfScale ( this image, float scale, Size fittingSize = null ) : System.Windows.Media.Imaging.BitmapSource
image this
scale float
fittingSize Size
return System.Windows.Media.Imaging.BitmapSource

ToWpfTextAlignment() public static method

public static ToWpfTextAlignment ( this align ) : System.Windows.TextAlignment
align this
return System.Windows.TextAlignment

ToWpfTransform() public static method

public static ToWpfTransform ( this matrix ) : Transform
matrix this
return System.Windows.Media.Transform

Property Details

PositiveInfinitySize public_oe static_oe property

public static Size,System.Windows PositiveInfinitySize
return System.Windows.Size

ZeroSize public_oe static_oe property

public static Size,System.Windows ZeroSize
return System.Windows.Size