Class Symbol
Represent a symbol to be added in Stencil.
Inheritance
System.Object
Symbol
Namespace: Syncfusion.UI.Xaml.Diagram.Stencil
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public sealed class Symbol : ContentControl
Constructors
Symbol()
Initializes a new instance of the Symbol class.
Declaration
public Symbol()
Fields
TextDecorationsProperty
Identifies the TextDecorations dependency property.
Declaration
public static DependencyProperty TextDecorationsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextTrimmingProperty
Identifies the TextTrimming dependency property.
Declaration
public static DependencyProperty TextTrimmingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextWrappingProperty
Identifies the TextWrapping dependency property.
Declaration
public static DependencyProperty TextWrappingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
TextDecorations
Gets or sets a System.Windows.TextDecorationCollection that contains the effects to apply to the text below the icons in the Symbol.
Declaration
public TextDecorationCollection TextDecorations { get; set; }
Property Value
Type |
---|
System.Windows.TextDecorationCollection |
TextTrimming
Gets or sets the text trimming behavior to employ when the text below icons in the Symbol overflows with the symbol size.
Declaration
public TextTrimming TextTrimming { get; set; }
Property Value
Type |
---|
System.Windows.TextTrimming |
TextWrapping
Gets or sets how the text below the icons in the Symbol should wrap.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
Type |
---|
System.Windows.TextWrapping |
Methods
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size constraint)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | constraint |
Returns
Type |
---|
System.Windows.Size |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type |
---|
System.Windows.Automation.Peers.AutomationPeer |