Interface ISymbol
Represents to describe the symbol.
Namespace: Syncfusion.UI.Xaml.Diagram.Stencil
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public interface ISymbol
Properties
Key
Gets or sets a unique name for symbol.
Declaration
object Key { get; set; }
Property Value
Type |
---|
System.Object |
Menu
Gets or sets some additional menu items for contentmenu.
Declaration
DiagramMenu Menu { get; set; }
Property Value
Type |
---|
DiagramMenu |
Name
Gets or sets the identifying name of the ISymbol.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the element. The default is an empty string. |
Remarks
This property is used as tool tip for the corresponding Symbol and also used to find the corresponding symbol in the Syncfusion.UI.Xaml.Diagram.Stencil.
SearchTags
Gets or sets the search tags of the ISymbol in the Syncfusion.UI.Xaml.Diagram.Stencil.
Declaration
IEnumerable<string> SearchTags { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The list of search tags that are used when you search for the symbol in the Syncfusion.UI.Xaml.Diagram.Stencil. The default is null. |
Symbol
Gets or sets a Symbol to be added in Stencil which can accept any object.
Declaration
object Symbol { get; set; }
Property Value
Type |
---|
System.Object |
SymbolTemplate
Gets or sets the System.Windows.DataTemplate used to display Symbol.
Declaration
DataTemplate SymbolTemplate { get; set; }
Property Value
Type |
---|
System.Windows.DataTemplate |
Methods
Clone()
Creates a modifiable clone of this Symbol, making deep copies of this object's values.
Declaration
ISymbol Clone()
Returns
Type |
---|
ISymbol |