C# Class csDataServerPlugin.Utils.OutlinedText

Create a text with an outline
Inheritance: System.Windows.FrameworkElement, IAddChild
Afficher le fichier Open project: TNOCS/csTouch

Méthodes publiques

Свойство Type Description
BoldProperty System.Windows.DependencyProperty
FillProperty System.Windows.DependencyProperty
FontProperty System.Windows.DependencyProperty
FontSizeProperty System.Windows.DependencyProperty
ItalicProperty System.Windows.DependencyProperty
StrokeProperty System.Windows.DependencyProperty
StrokeThicknessProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
AddChild ( Object value ) : void
AddText ( string value ) : void
CreateText ( ) : void

Create the outline geometry based on the formatted text.

Méthodes protégées

Méthode Description
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

OnRender override draws the geometry of the text and optional highlight.

Private Methods

Méthode Description
OnOutlineTextInvalidated ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Invoked when a dependency property has changed. Generate a new FormattedText object to display.

Method Details

AddChild() public méthode

public AddChild ( Object value ) : void
value Object
Résultat void

AddText() public méthode

public AddText ( string value ) : void
value string
Résultat void

CreateText() public méthode

Create the outline geometry based on the formatted text.
public CreateText ( ) : void
Résultat void

OnRender() protected méthode

OnRender override draws the geometry of the text and optional highlight.
protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext Drawing context of the OutlineText control.
Résultat void

Property Details

BoldProperty public_oe static_oe property

Identifies the Bold dependency property.
public static DependencyProperty,System.Windows BoldProperty
Résultat System.Windows.DependencyProperty

FillProperty public_oe static_oe property

Identifies the Fill dependency property.
public static DependencyProperty,System.Windows FillProperty
Résultat System.Windows.DependencyProperty

FontProperty public_oe static_oe property

Identifies the Font dependency property.
public static DependencyProperty,System.Windows FontProperty
Résultat System.Windows.DependencyProperty

FontSizeProperty public_oe static_oe property

Identifies the FontSize dependency property.
public static DependencyProperty,System.Windows FontSizeProperty
Résultat System.Windows.DependencyProperty

ItalicProperty public_oe static_oe property

Identifies the Italic dependency property.
public static DependencyProperty,System.Windows ItalicProperty
Résultat System.Windows.DependencyProperty

StrokeProperty public_oe static_oe property

Identifies the Stroke dependency property.
public static DependencyProperty,System.Windows StrokeProperty
Résultat System.Windows.DependencyProperty

StrokeThicknessProperty public_oe static_oe property

Identifies the StrokeThickness dependency property.
public static DependencyProperty,System.Windows StrokeThicknessProperty
Résultat System.Windows.DependencyProperty

TextProperty public_oe static_oe property

Identifies the Text dependency property.
public static DependencyProperty,System.Windows TextProperty
Résultat System.Windows.DependencyProperty