Class DiagramTheme
Inheritance
System.Object
DiagramTheme
Implements
System.ComponentModel.INotifyPropertyChanged
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.Theming
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class DiagramTheme : INotifyPropertyChanged
Constructors
DiagramTheme()
Declaration
public DiagramTheme()
Properties
ConnectorStyles
Declaration
public Dictionary<StyleId, DiagramItemStyle> ConnectorStyles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<StyleId, DiagramItemStyle> |
NodeStyles
Declaration
public Dictionary<StyleId, DiagramItemStyle> NodeStyles { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<StyleId, DiagramItemStyle> |
Theme
Declaration
public Theme Theme { get; set; }
Property Value
Type | Description |
---|---|
Theme |
Methods
GetConnectorStyle(StyleId)
Declaration
public DiagramItemStyle GetConnectorStyle(StyleId effect)
Parameters
Type | Name | Description |
---|---|---|
StyleId | effect |
Returns
Type | Description |
---|---|
DiagramItemStyle |
GetNodeStyle(StyleId)
Declaration
public DiagramItemStyle GetNodeStyle(StyleId effect)
Parameters
Type | Name | Description |
---|---|---|
StyleId | effect |
Returns
Type | Description |
---|---|
DiagramItemStyle |
InitializeStyles()
Declaration
public virtual void InitializeStyles()
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged