Class TreeNodeAdvStyleInfo
Contains appearance and behavior information regarding the TreeNodeAdvs.
Inheritance
System.Object
TreeNodeAdvStyleInfo
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)
Assembly: Syncfusion.Tools.Windows.dll
public class TreeNodeAdvStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject
Constructors
Overloaded. Initalizes a new style object.
Declaration
public TreeNodeAdvStyleInfo()
Initalizes a new style object and associates it with an existing Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfoIdentity.
Declaration
public TreeNodeAdvStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Initalizes a new style object and associates it with an existing Syncfusion.Windows.Forms.Tools.TreeNodeAdvStyleInfoIdentity.
Declaration
public TreeNodeAdvStyleInfo(StyleInfoSubObjectIdentity identity, TreeNodeAdvStyleInfoStore store)
Parameters
Initalizes a new style object and copies all data from an existing style object.
Declaration
public TreeNodeAdvStyleInfo(TreeNodeAdvStyleInfo style)
Parameters
Declaration
public TreeNodeAdvStyleInfo(TreeNodeAdvStyleInfoStore store)
Parameters
Fields
Declaration
public static readonly TreeNodeAdvStyleInfo Empty
Field Value
Properties
Gets or sets the ArrowColor of the TreeNodeAdv in normal state
Declaration
[ThemeStudio]
public Color ArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the BackColor of the node.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the background of the node.
Declaration
public BrushInfo Background { get; set; }
Property Value
Gets / sets the base style for the node from which to inherit.
Declaration
public string BaseStyle { get; set; }
Property Value
Gets / sets the CheckBox BackColor of the node.
Declaration
[ThemeStudio]
public Color CheckBoxBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates the background of checkbox .
Declaration
[ThemeStudio]
public Brush CheckBoxBackground { get; set; }
Property Value
Type |
System.Drawing.Brush |
Gets / sets the CheckBox Border of the node.
Declaration
[ThemeStudio]
public Color CheckBoxBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the hover back color of the checkbox in TreeNodeAdv
Declaration
[ThemeStudio]
public Color CheckBoxHoverBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the hover border color of the checkbox in TreeNodeAdv
Declaration
[ThemeStudio]
public Color CheckBoxHoverBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates the Thickness of CheckBox tick.
Declaration
[ThemeStudio]
public int CheckBoxTickThickness { get; set; }
Property Value
Indicates the color of check symbol.
Declaration
[ThemeStudio]
public Color CheckColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the checkState of the node.
Declaration
public CheckState CheckState { get; set; }
Property Value
Type |
System.Windows.Forms.CheckState |
Gets / sets the image index in the StateImageList where the node is not expanded.
Declaration
public int ClosedImgIndex { get; set; }
Property Value
Gets / sets the compare options used in the sorting of the node.
Declaration
public CompareOptions CompareOptions { get; set; }
Property Value
Type |
System.Globalization.CompareOptions |
Gets / sets the System.Collections.IComparer object that compares two nodes.
Declaration
public IComparer Comparer { get; set; }
Property Value
Type |
System.Collections.IComparer |
Gets / sets the culture of the node used while sorting.
Declaration
public CultureInfo Culture { get; set; }
Property Value
Type |
System.Globalization.CultureInfo |
Declaration
public static TreeNodeAdvStyleInfo Default { get; }
Property Value
Gets or sets the ArrowColor of the TreeNodeAdv in disabled state
Declaration
[ThemeStudio]
public Color DisabledArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
DisabledTextColor
Gets / sets the Color of the text in disabled state
Declaration
[ThemeStudio]
public virtual Color DisabledTextColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the display member of the data bound to the node.
Declaration
public string DisplayMember { get; set; }
Property Value
Indicates whether the node is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Indicates whether the buttons in the node are enabled.
Declaration
public bool EnabledButtons { get; set; }
Property Value
Indicates whether the first child should be marked as if none of the other children is Optioned in a parent node.
Declaration
public bool EnsureDefaultOptionedChild { get; set; }
Property Value
Type |
Description |
System.Boolean |
True to ensure a default optioned child. False otherwise.
|
Gets / sets the font of the node.
Declaration
[ThemeStudio]
public virtual Font Font { get; set; }
Property Value
Declaration
public bool HasBackground { get; }
Property Value
Declaration
public bool HasBaseStyle { get; }
Property Value
Declaration
public bool HasCheckState { get; }
Property Value
Declaration
public bool HasClosedImgIndex { get; }
Property Value
Declaration
public bool HasCompareOptions { get; }
Property Value
Declaration
public bool HasComparer { get; }
Property Value
Declaration
public bool HasEnabled { get; }
Property Value
Declaration
public bool HasEnsureDefaultOptinedChild { get; }
Property Value
Declaration
public virtual bool HasFont { get; }
Property Value
Declaration
public virtual bool HasHeight { get; }
Property Value
Declaration
public bool HasInteractiveCheckBox { get; }
Property Value
Declaration
public bool HasLeftImageIndices { get; }
Property Value
Declaration
public bool HasNoChildrenImgIndex { get; }
Property Value
Declaration
public bool HasOpenImgIndex { get; }
Property Value
Declaration
public bool HasRightImageIndices { get; }
Property Value
Declaration
public bool HasShowCheckBox { get; }
Property Value
Declaration
public bool HasShowOptionButton { get; }
Property Value
Declaration
public bool HasShowPlusMinus { get; }
Property Value
Declaration
public bool HasSortOrder { get; }
Property Value
Declaration
public bool HasSortType { get; }
Property Value
Declaration
public bool HasTag { get; }
Property Value
HasTextColor
Declaration
public virtual bool HasTextColor { get; }
Property Value
Declaration
public bool HasThemesEnabled { get; }
Property Value
Gets / sets the height of the node.
Declaration
public virtual int Height { get; set; }
Property Value
HelpText
Gets / sets the help text of the node.
Declaration
public string HelpText { get; set; }
Property Value
Gets or sets the ArrowColor of the TreeNodeAdv in hover state
Declaration
[ThemeStudio]
public Color HoverArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the Hover BackColor of the node.
Declaration
[ThemeStudio]
public Color HoverBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the hover color of the checkbox's tick in TreeNodeAdv
Declaration
[ThemeStudio]
public Color HoverCheckedTickColor { get; set; }
Property Value
Type |
System.Drawing.Color |
HoverTextColor
Gets / sets the Color of the text in Hover state.
Declaration
[ThemeStudio]
public virtual Color HoverTextColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates whether the node will have an interactive checkbox.
Declaration
public bool InteractiveCheckBox { get; set; }
Property Value
Indicates the background of checkbox when it is in intermediate state.
Declaration
[ThemeStudio]
public Brush IntermediateCheckBoxBackground { get; set; }
Property Value
Type |
System.Drawing.Brush |
Indicates the color of intermediate check symbol.
Declaration
[ThemeStudio]
public Color IntermediateCheckColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / Sets whether to allow Node Editing and this is applicable only when LabelEdit is enabled in TreeViewAdv
Declaration
public bool LabelEdit { get; set; }
Property Value
Gets / sets the image indices of the images to be drawn on the left of the node`s text.
Declaration
public int[] LeftImageIndices { get; set; }
Property Value
Gets / sets the name of the node.
Declaration
public string Name { get; set; }
Property Value
Gets / sets the image index indicating the image in the StateImageList where the node has no children.
Declaration
public int NoChildrenImgIndex { get; set; }
Property Value
Gets / sets the image index in the StateImageList where the node is expanded.
Declaration
public int OpenImgIndex { get; set; }
Property Value
Gets or sets the OptionButton BackColor of the TreeNodeAdv in normal state
Declaration
[ThemeStudio]
public Color OptionButtonBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the OptionButton BorderColor of the TreeNodeAdv in normal state
Declaration
[ThemeStudio]
public Color OptionButtonBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates the color of Option button.
Declaration
[ThemeStudio]
public Color OptionButtonColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the option button back color of the TreeNodeAdv in hover state.
Declaration
[ThemeStudio]
public Color OptionButtonHoverBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the option button border color of the TreeNodeAdv in hover state.
Declaration
[ThemeStudio]
public Color OptionButtonHoverBorderColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets option button inner circle color of the TreeNodeAdv in hover state.
Declaration
[ThemeStudio]
public Color OptionButtonHoverColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets or sets the ArrowColor of the TreeNodeAdv in pressed state
Declaration
[ThemeStudio]
public Color PressedArrowColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Gets / sets the image indices of the images to be drawn on the right of the node`s text.
Declaration
public int[] RightImageIndices { get; set; }
Property Value
Gets / sets the Selected BackColor of the node.
Declaration
[ThemeStudio]
public Color SelectedBackColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates the color of Selected Option button.
Declaration
public Color SelectedOptionButtonColor { get; set; }
Property Value
Type |
System.Drawing.Color |
SelectedTextColor
Gets / sets the Color of the text in selected state.
Declaration
[ThemeStudio]
public virtual Color SelectedTextColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates whether the checkbox of the node is visible.
Declaration
public bool ShowCheckBox { get; set; }
Property Value
Indicates whether the option button of the node is visible.
Declaration
public bool ShowOptionButton { get; set; }
Property Value
Indicates whether the plus/minus of the node is visible.
Declaration
public bool ShowPlusMinus { get; set; }
Property Value
Gets / sets the sort order of the node.
Declaration
public SortOrder SortOrder { get; set; }
Property Value
Type |
System.Windows.Forms.SortOrder |
Gets / sets the sort type of the node.
Declaration
public TreeNodeAdvSortType SortType { get; set; }
Property Value
Declaration
public TreeNodeAdvStyleInfoStore Store { get; }
Property Value
Gets / sets the tag of the node. Can be used to store additional information for the node.
Declaration
public object Tag { get; set; }
Property Value
Text
Gets / sets the text of the node.
Declaration
public string Text { get; set; }
Property Value
TextColor
Gets / sets the Color of the text.
Declaration
[ThemeStudio]
public virtual Color TextColor { get; set; }
Property Value
Type |
System.Drawing.Color |
Indicates whether the node`s controls will be themed.
Declaration
public bool ThemesEnabled { get; set; }
Property Value
Methods
Declaration
public override StyleInfoSubObjectIdentity CreateSubObjectIdentity(StyleInfoProperty sip)
Parameters
Returns
Overrides
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Overrides
Returns the TreeNodeAdv for this style or null if style is used outside a grid model.
Declaration
public TreeNodeAdv GetNode()
Returns
Declaration
protected override void OnStyleChanged(StyleInfoProperty sip)
Parameters
Overrides
Declaration
public void ResetBackground()
Declaration
public void ResetBaseStyle()
Declaration
public void ResetCheckState()
Declaration
public void ResetClosedImgIndex()
Declaration
public void ResetCompareOptions()
Declaration
public void ResetComparer()
Declaration
public void ResetCulture()
Declaration
public void ResetDisplayMember()
Declaration
public void ResetEnabled()
Declaration
public void ResetEnabledButtons()
Declaration
[Obsolete("ResetEnsureDefaultOptinedChild is deprecated, please use ResetEnsureDefaultOptionedChild instead.")]
public void ResetEnsureDefaultOptinedChild()
Declaration
public void ResetEnsureDefaultOptionedChild()
Declaration
Declaration
public void ResetHeight()
ResetHelpText()
Declaration
public void ResetHelpText()
Declaration
public void ResetInteractiveCheckBox()
Declaration
public void ResetLeftImageIndices()
Declaration
public void ResetNoChildrenImgIndex()
Declaration
public void ResetOpenImgIndex()
Declaration
public void ResetRightImageIndices()
Declaration
public void ResetShowCheckBox()
Declaration
public void ResetShowOptionButton()
Declaration
public void ResetShowPlusMinus()
Declaration
public void ResetSortOrder()
Declaration
public void ResetSortType()
Declaration
ResetText()
Declaration
ResetTextColor()
Declaration
public void ResetTextColor()
Declaration
public void ResetThemesEnabled()
Implements
System.ComponentModel.ICustomTypeDescriptor
System.IDisposable
System.ComponentModel.ISupportInitialize
System.IFormattable
System.IConvertible
System.Xml.Serialization.IXmlSerializable