Class SymbolGroup
Represents the library of shapes in specific symbol group.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram.Stencil
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class SymbolGroup : ItemsControl
Constructors
SymbolGroup()
Initializes a new instance of the SymbolGroup class.
Declaration
public SymbolGroup()
Fields
HeaderProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.Header dependency property.
Declaration
public static DependencyProperty HeaderProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderTemplateProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.HeaderTemplate dependency property.
Declaration
public static DependencyProperty HeaderTemplateProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.HeaderVisibility dependency property.
Declaration
public static DependencyProperty HeaderVisibilityProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
IsExpandedProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.IsExpanded dependency property.
Declaration
public static DependencyProperty IsExpandedProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
Header
Gets or sets the header of the symbol group.
Declaration
public object Header { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
HeaderTemplate
Gets or sets the System.Windows.DataTemplate used to display header.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate |
HeaderVisibility
Gets or sets the header visibility of the symbol group.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility |
IsExpanded
Gets or sets a value that indicates whether the symbol group is currently expanded.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ClearContainerForItemOverride(DependencyObject, Object)
Overrides to clear all the overrided items ie.,symbols,symbol groups.
Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | View that is used to display the specified symbol. |
System.Object | item | Specified symbol. |
GetContainerForItemOverride()
Overrides to creates or identify the view that is used to display the given symbol or symbol group.
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
System.Windows.DependencyObject | Returns the view that is used to display the given symbol or symbol group. |
IsItemItsOwnContainerOverride(Object)
Overrides to determine if the specified item is its own container.
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
System.Object | item | The item to check. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item is its own container; otherwise, false. |
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()
PrepareContainerForItemOverride(DependencyObject, Object)
Overrides to prepare the view to display the specified symbol.
Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | element | View that is used to display the specified symbol. |
System.Object | item | Specified symbol. |