C# Class OhMyDanmaku.OutlinedTextBlock

Inheritance: System.Windows.FrameworkElement
Show file Open project: StoneMoe/OhMyDanmaku Class Usage Examples

Public Properties

Property Type Description
FillProperty System.Windows.DependencyProperty
FontFamilyProperty System.Windows.DependencyProperty
FontSizeProperty System.Windows.DependencyProperty
FontStretchProperty System.Windows.DependencyProperty
FontStyleProperty System.Windows.DependencyProperty
FontWeightProperty System.Windows.DependencyProperty
StrokeProperty System.Windows.DependencyProperty
StrokeThicknessProperty System.Windows.DependencyProperty
TextAlignmentProperty System.Windows.DependencyProperty
TextDecorationsProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty
TextTrimmingProperty System.Windows.DependencyProperty
TextWrappingProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
EnsureFormattedText void
EnsureGeometry void
OnFormattedTextInvalidated void
OnFormattedTextUpdated void
UpdateFormattedText void

Public Methods

Method Description
OutlinedTextBlock ( ) : System

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
MeasureOverride ( Size availableSize ) : Size
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

Private Methods

Method Description
EnsureFormattedText ( ) : void
EnsureGeometry ( ) : void
OnFormattedTextInvalidated ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnFormattedTextUpdated ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
UpdateFormattedText ( ) : void

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

MeasureOverride() protected method

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
return System.Windows.Size

OnRender() protected method

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
return void

OutlinedTextBlock() public method

public OutlinedTextBlock ( ) : System
return System

Property Details

FillProperty public static property

public static DependencyProperty,System.Windows FillProperty
return System.Windows.DependencyProperty

FontFamilyProperty public static property

public static DependencyProperty,System.Windows FontFamilyProperty
return System.Windows.DependencyProperty

FontSizeProperty public static property

public static DependencyProperty,System.Windows FontSizeProperty
return System.Windows.DependencyProperty

FontStretchProperty public static property

public static DependencyProperty,System.Windows FontStretchProperty
return System.Windows.DependencyProperty

FontStyleProperty public static property

public static DependencyProperty,System.Windows FontStyleProperty
return System.Windows.DependencyProperty

FontWeightProperty public static property

public static DependencyProperty,System.Windows FontWeightProperty
return System.Windows.DependencyProperty

StrokeProperty public static property

public static DependencyProperty,System.Windows StrokeProperty
return System.Windows.DependencyProperty

StrokeThicknessProperty public static property

public static DependencyProperty,System.Windows StrokeThicknessProperty
return System.Windows.DependencyProperty

TextAlignmentProperty public static property

public static DependencyProperty,System.Windows TextAlignmentProperty
return System.Windows.DependencyProperty

TextDecorationsProperty public static property

public static DependencyProperty,System.Windows TextDecorationsProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty

TextTrimmingProperty public static property

public static DependencyProperty,System.Windows TextTrimmingProperty
return System.Windows.DependencyProperty

TextWrappingProperty public static property

public static DependencyProperty,System.Windows TextWrappingProperty
return System.Windows.DependencyProperty