C# Класс csDataServerPlugin.Utils.OutlinedText

Create a text with an outline
Наследование: System.Windows.FrameworkElement, IAddChild
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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

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

Метод Описание
AddChild ( Object value ) : void
AddText ( string value ) : void
CreateText ( ) : void

Create the outline geometry based on the formatted text.

Защищенные методы

Метод Описание
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void

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

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

Метод Описание
OnOutlineTextInvalidated ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

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

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

AddChild() публичный Метод

public AddChild ( Object value ) : void
value Object
Результат void

AddText() публичный Метод

public AddText ( string value ) : void
value string
Результат void

CreateText() публичный Метод

Create the outline geometry based on the formatted text.
public CreateText ( ) : void
Результат void

OnRender() защищенный Метод

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.
Результат void

Описание свойств

BoldProperty публичное статическое свойство

Identifies the Bold dependency property.
public static DependencyProperty,System.Windows BoldProperty
Результат System.Windows.DependencyProperty

FillProperty публичное статическое свойство

Identifies the Fill dependency property.
public static DependencyProperty,System.Windows FillProperty
Результат System.Windows.DependencyProperty

FontProperty публичное статическое свойство

Identifies the Font dependency property.
public static DependencyProperty,System.Windows FontProperty
Результат System.Windows.DependencyProperty

FontSizeProperty публичное статическое свойство

Identifies the FontSize dependency property.
public static DependencyProperty,System.Windows FontSizeProperty
Результат System.Windows.DependencyProperty

ItalicProperty публичное статическое свойство

Identifies the Italic dependency property.
public static DependencyProperty,System.Windows ItalicProperty
Результат System.Windows.DependencyProperty

StrokeProperty публичное статическое свойство

Identifies the Stroke dependency property.
public static DependencyProperty,System.Windows StrokeProperty
Результат System.Windows.DependencyProperty

StrokeThicknessProperty публичное статическое свойство

Identifies the StrokeThickness dependency property.
public static DependencyProperty,System.Windows StrokeThicknessProperty
Результат System.Windows.DependencyProperty

TextProperty публичное статическое свойство

Identifies the Text dependency property.
public static DependencyProperty,System.Windows TextProperty
Результат System.Windows.DependencyProperty