menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Symbol - API Reference

    Show / Hide Table of Contents

    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 Description
    System.Windows.DependencyProperty

    TextTrimmingProperty

    Identifies the TextTrimming dependency property.

    Declaration
    public static DependencyProperty TextTrimmingProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    TextWrappingProperty

    Identifies the TextWrapping dependency property.

    Declaration
    public static DependencyProperty TextWrappingProperty
    Field Value
    Type Description
    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 Description
    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 Description
    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 Description
    System.Windows.TextWrapping

    Methods

    MeasureOverride(Size)

    Declaration
    protected override Size MeasureOverride(Size constraint)
    Parameters
    Type Name Description
    System.Windows.Size constraint
    Returns
    Type Description
    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 Description
    System.Windows.Automation.Peers.AutomationPeer
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved