C# Class RedBadger.Xpf.Controls.TextBlock

Inheritance: UIElement
ファイルを表示 Open project: redbadger/XPF Class Usage Examples

Public Properties

Property Type Description
BackgroundProperty ReactiveProperty
ForegroundProperty ReactiveProperty
PaddingProperty ReactiveProperty
TextProperty ReactiveProperty
WrappingProperty ReactiveProperty

Public Methods

Method Description
TextBlock ( ISpriteFont spriteFont ) : System

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
OnRender ( IDrawingContext drawingContext ) : void

Private Methods

Method Description
WrapText ( ISpriteFont font, string text, double maxLineWidth ) : string

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size
return Size

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize Size
return Size

OnRender() protected method

protected OnRender ( IDrawingContext drawingContext ) : void
drawingContext IDrawingContext
return void

TextBlock() public method

public TextBlock ( ISpriteFont spriteFont ) : System
spriteFont ISpriteFont
return System

Property Details

BackgroundProperty public_oe static_oe property

public static ReactiveProperty BackgroundProperty
return ReactiveProperty

ForegroundProperty public_oe static_oe property

public static ReactiveProperty ForegroundProperty
return ReactiveProperty

PaddingProperty public_oe static_oe property

public static ReactiveProperty PaddingProperty
return ReactiveProperty

TextProperty public_oe static_oe property

public static ReactiveProperty TextProperty
return ReactiveProperty

WrappingProperty public_oe static_oe property

public static ReactiveProperty WrappingProperty
return ReactiveProperty