Class TreeMapVisualStyle
Represents the class to define the style for TreeMap control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.TreeMap
Assembly: Syncfusion.TreeMap.Windows.dll
Syntax
public class TreeMapVisualStyle : VisualStyleBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
TreeMapVisualStyle()
Initializes a new instance of the TreeMapVisualStyle class.
Declaration
public TreeMapVisualStyle()
TreeMapVisualStyle(TreeMapStyleInfoIdentity)
Initializes a new instance of the TreeMapVisualStyle class.
Declaration
public TreeMapVisualStyle(TreeMapStyleInfoIdentity identity)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeMapStyleInfoIdentity | identity | A TreeMapStyleInfoIdentity that holds the identity for this TreeMapStyleInfoStore. |
TreeMapVisualStyle(TreeMapStyleInfoIdentity, TreeMapStyleInfoStore)
Initializes a new instance of the TreeMapVisualStyle class.
Declaration
public TreeMapVisualStyle(TreeMapStyleInfoIdentity identity, TreeMapStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeMapStyleInfoIdentity | identity | A TreeMapStyleInfoIdentity that holds the identity for this TreeMapStyleInfoStore. |
| TreeMapStyleInfoStore | store | Holds instance of a TreeMapStyleInfoStore class |
TreeMapVisualStyle(TreeMapStyleInfoStore)
Initializes a new instance of the TreeMapVisualStyle class.
Declaration
public TreeMapVisualStyle(TreeMapStyleInfoStore store)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeMapStyleInfoStore | store | Holds instance of a TreeMapStyleInfoStore class. |
Properties
BackColor
Gets or sets the back color of the TreeMap control.
Declaration
public Color BackColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color | The System.Drawing.Color value is used to fill the back color of the TreeMap. |
Remarks
This color has filled to back color of the TreeMap only when set the BackColor property.
DefaultStyle
Gets the default style value for the Syncfusion.Windows.Forms.TreeMap control.
Declaration
public static TreeMapVisualStyle DefaultStyle { get; }
Property Value
| Type |
|---|
| TreeMapVisualStyle |
Font
Gets or sets the System.Drawing.Font value of the TreeMap control.
Declaration
public Font Font { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Font |
HeaderColor
Gets or sets the header color of the TreeMap control.
Declaration
public Color HeaderColor { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.Color | The System.Drawing.Color value is used to fill the header color of the TreeMap. |
Remarks
This color has filled to header color of the TreeMap only when set the HeaderBrush property.
Methods
CreateSubObjectIdentity(StyleInfoProperty)
Overridden to create a product-specific identity object for the sub object.
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
| Type | Name | Description |
|---|---|---|
| StyleInfoProperty | sip | StyleInfoProperty descriptor for this sub object. |
Returns
| Type | Description |
|---|---|
| StyleInfoSubObjectIdentity | Identity for the sub object. |
Overrides
GetDefaultStyle()
Gets the default style value of the TreeMapVisualStyle class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
| Type | Description |
|---|---|
| StyleInfoBase | Returns the default style value. |