Class SymbolGroup
Represents the library of shapes in specific symbol group.
Inheritance
Namespace: Syncfusion.UI.Xaml.Diagram.Stencil
Assembly: Syncfusion.SfDiagram.UWP.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 |
---|
Windows.UI.Xaml.DependencyProperty |
HeaderTemplateProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.HeaderTemplate dependency property.
Declaration
public static DependencyProperty HeaderTemplateProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HeaderVisibilityProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.HeaderVisibility dependency property.
Declaration
public static DependencyProperty HeaderVisibilityProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsExpandedProperty
Identifies the Syncfusion.UI.Xaml.Diagram.Stencil.SymbolGroup.IsExpanded dependency property.
Declaration
public static DependencyProperty IsExpandedProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
Header
Gets or sets the header of the symbol group.
Declaration
public object Header { get; set; }
Property Value
Type |
---|
System.Object |
HeaderTemplate
Gets or sets the
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.DataTemplate |
HeaderVisibility
Gets or sets the header visibility of the symbol group.
Declaration
public Visibility HeaderVisibility { get; set; }
Property Value
Type |
---|
Windows.UI.Xaml.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 |
---|
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 |
---|---|---|
Windows.UI.Xaml.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 |
---|---|
Windows.UI.Xaml.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()
Declaration
protected 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 |
---|---|---|
Windows.UI.Xaml.DependencyObject | element | View that is used to display the specified symbol. |
System.Object | item | Specified symbol. |