Class DiagramVisualStyle
Inheritance
System.Object
DiagramVisualStyle
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class DiagramVisualStyle : ScrollerVisualStyle, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
DiagramVisualStyle()
Declaration
public DiagramVisualStyle()
DiagramVisualStyle(DiagramStyleInfoIdentity)
Declaration
public DiagramVisualStyle(DiagramStyleInfoIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramStyleInfoIdentity | identity |
DiagramVisualStyle(DiagramStyleInfoIdentity, DiagramStyleInfoStore)
Declaration
public DiagramVisualStyle(DiagramStyleInfoIdentity identity, DiagramStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramStyleInfoIdentity | identity | |
| DiagramStyleInfoStore | store |
DiagramVisualStyle(DiagramStyleInfoStore)
Declaration
public DiagramVisualStyle(DiagramStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| DiagramStyleInfoStore | store |
Properties
BackColor
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
Default
Declaration
public static DiagramVisualStyle Default { get; }
Property Value
| Type |
|---|
| DiagramVisualStyle |
PortHighLightColor
Declaration
[ThemeStudio]
public Color PortHighLightColor { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
RulerStyle
Declaration
[ThemeStudio]
public RulerStyleInfo RulerStyle { get; set; }
Property Value
| Type |
|---|
| RulerStyleInfo |
SelectorStyle
Declaration
[ThemeStudio]
public SelectorStyleInfo SelectorStyle { get; set; }
Property Value
| Type |
|---|
| SelectorStyleInfo |
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoProperty | sip |
Returns
| Type |
|---|
| StyleInfoSubObjectIdentity |
Overrides
GetDefaultStyle()
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type |
|---|
| StyleInfoBase |
Overrides
ShouldSerializeRulerStyleProperty()
Declaration
public bool ShouldSerializeRulerStyleProperty()
Returns
| Type |
|---|
| System.Boolean |
ShouldSerializeSelectorStyleProperty()
Declaration
public bool ShouldSerializeSelectorStyleProperty()
Returns
| Type |
|---|
| System.Boolean |
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable