Class SymbolViewModel
SymbolViewModel is to describe the symbol.
Inheritance
System.Object
SymbolViewModel
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.UI.Xaml.Diagram.Stencil
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class SymbolViewModel : ISymbol
Constructors
SymbolViewModel()
Declaration
public SymbolViewModel()
Properties
Key
Gets or sets a unique name for symbol.
Declaration
public object Key { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Name
Gets or sets the identifying name of the SymbolViewModel.
Declaration
public 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.
Symbol
Gets or sets a symbol to be added in Stencil which can accept any object.
Declaration
public object Symbol { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
SymbolTemplate
Gets or sets the System.Windows.DataTemplate used to display symbol.
Declaration
public DataTemplate SymbolTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate |
Methods
Clone()
Creates a modifiable clone of this symbol, making deep copies of this object's values.
Declaration
public ISymbol Clone()
Returns
Type | Description |
---|---|
ISymbol |