Class TreeNodeAdvSubItemStyleInfo
Represents to gets the style information for the TreeNodeAdv subitem in Treeview control.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools.MultiColumnTreeView
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class TreeNodeAdvSubItemStyleInfo : StyleInfoSubObjectBase, ICustomTypeDescriptor, IDisposable, IStyleInfo, ISupportInitialize, IFormattable, IConvertible, IXmlSerializable, IStyleInfoSubObject, ITreeNodeAdvSubItemStyle
Constructors
TreeNodeAdvSubItemStyleInfo()
Initialize a new instance of the TreeNodeAdvSubItemStyleInfo class.
Declaration
public TreeNodeAdvSubItemStyleInfo()
TreeNodeAdvSubItemStyleInfo(StyleInfoSubObjectIdentity)
Initialize a new instance of the TreeNodeAdvSubItemStyleInfo class.
Declaration
public TreeNodeAdvSubItemStyleInfo(StyleInfoSubObjectIdentity identity)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A Syncfusion.Windows.Forms.Tools.MultiColumnTreeView.TreeColumnAdvStyleInfoIdentity that holds the indentity for this TreeColumnAdvStyleInfo. |
TreeNodeAdvSubItemStyleInfo(StyleInfoSubObjectIdentity, TreeNodeAdvSubItemStyleInfoStore)
Initialize a new instance of the TreeColumnAdvStyleInfo class.
Declaration
public TreeNodeAdvSubItemStyleInfo(StyleInfoSubObjectIdentity identity, TreeNodeAdvSubItemStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
StyleInfoSubObjectIdentity | identity | A Syncfusion.Windows.Forms.Tools.MultiColumnTreeView.TreeColumnAdvStyleInfoIdentity that holds the indentity for this TreeColumnAdvStyleInfo. |
TreeNodeAdvSubItemStyleInfoStore | store |
TreeNodeAdvSubItemStyleInfo(TreeNodeAdvSubItemStyleInfo)
Initialize a new instance of the TreeNodeAdvSubItemStyleInfo class.
Declaration
public TreeNodeAdvSubItemStyleInfo(TreeNodeAdvSubItemStyleInfo style)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdvSubItemStyleInfo | style | The style object that contains the original data. |
TreeNodeAdvSubItemStyleInfo(TreeNodeAdvSubItemStyleInfoStore)
Initialize a new instance of the TreeNodeAdvSubItemStyleInfo class.
Declaration
public TreeNodeAdvSubItemStyleInfo(TreeNodeAdvSubItemStyleInfoStore store)
Parameters
Type | Name | Description |
---|---|---|
TreeNodeAdvSubItemStyleInfoStore | store | A TreeNodeAdvSubItemStyleInfoStore that holds data for this TreeColumnAdvStyleInfo. All changes in this style object will be saved in the TreeNodeAdvSubItemStyleInfoStore object. |
Properties
Alignment
Gets or sets the text alignment in subitem bounds.
Declaration
public StringAlignment Alignment { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
BackColor
Gets or sets the subitem BackColor.
Declaration
[ThemeStudio]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Background
Gets or sets the subitem background style.
Declaration
public BrushInfo Background { get; set; }
Property Value
Type |
---|
BrushInfo |
BaseStyle
Gets or sets the base style for the subitem.
Declaration
public string BaseStyle { get; set; }
Property Value
Type |
---|
System.String |
Border3DStyle
Gets or sets the subitem border 3D style.
Declaration
public Border3DStyle Border3DStyle { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Border3DStyle |
BorderColor
Gets or sets the subitem border color.
Declaration
public Color BorderColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
BorderSides
Gets or sets the subitem border sides settings.
Declaration
public Border3DSide BorderSides { get; set; }
Property Value
Type |
---|
System.Windows.Forms.Border3DSide |
BorderSingle
Gets or sets the subitem single line border style.
Declaration
public ButtonBorderStyle BorderSingle { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ButtonBorderStyle |
BorderStyle
Gets or sets the subitem border style.
Declaration
public BorderStyle BorderStyle { get; set; }
Property Value
Type |
---|
System.Windows.Forms.BorderStyle |
Default
Gets a TreeNodeAdvStyleInfo with default settings.
Declaration
public static TreeNodeAdvSubItemStyleInfo Default { get; }
Property Value
Type |
---|
TreeNodeAdvSubItemStyleInfo |
DisabledTextColor
Gets or sets the subitem disabled text color.
Declaration
[ThemeStudio]
public Color DisabledTextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Empty
Gets an empty value.
Declaration
public static TreeNodeAdvSubItemStyleInfo Empty { get; }
Property Value
Type |
---|
TreeNodeAdvSubItemStyleInfo |
Font
Gets or sets the subitem text font.
Declaration
public Font Font { get; set; }
Property Value
Type |
---|
System.Drawing.Font |
HasAlignment
Gets a value indicating whether Alignment property value has or not.
Declaration
public bool HasAlignment { get; }
Property Value
Type |
---|
System.Boolean |
HasBackground
Gets a value indicating whether Background has or not.
Declaration
public bool HasBackground { get; }
Property Value
Type |
---|
System.Boolean |
HasBaseStyle
Gets a value indicating whether BaseStyle property value has or not.
Declaration
public bool HasBaseStyle { get; }
Property Value
Type |
---|
System.Boolean |
HasBorder3DStyle
Gets a value indicating whether Border3DStyle gas or not.
Declaration
public bool HasBorder3DStyle { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderColor
Gets a value indicating whether BorderColor has not.
Declaration
public bool HasBorderColor { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderSides
Gets a value indicating whether BorderSides has or not.
Declaration
public bool HasBorderSides { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderSingle
Gets a value indicating whether BorderSingle or not.
Declaration
public bool HasBorderSingle { get; }
Property Value
Type |
---|
System.Boolean |
HasBorderStyle
Gets a value indicating whether BorderStyle has or not.
Declaration
public bool HasBorderStyle { get; }
Property Value
Type |
---|
System.Boolean |
HasFont
Gets a value indicating whether Font property value has or not.
Declaration
public bool HasFont { get; }
Property Value
Type |
---|
System.Boolean |
HasHelpText
Gets a value indicating whether HelpText property value has or not.
Declaration
public bool HasHelpText { get; }
Property Value
Type |
---|
System.Boolean |
HasLeftImage
Gets a value indicating whether LeftImage property value has or not.
Declaration
public bool HasLeftImage { get; }
Property Value
Type |
---|
System.Boolean |
HasLeftImageIndices
Gets a value indicating whether LeftImageIndices property value has or not.
Declaration
public bool HasLeftImageIndices { get; }
Property Value
Type |
---|
System.Boolean |
HasLeftImagePadding
Gets a value indicating whether LeftImagePadding property value has or not.
Declaration
public bool HasLeftImagePadding { get; }
Property Value
Type |
---|
System.Boolean |
HasLineAlignment
Gets a value indicating whether LineAlignment property value has or not.
Declaration
public bool HasLineAlignment { get; }
Property Value
Type |
---|
System.Boolean |
HasRightImage
Gets a value indicating whether RightImage property value has or not.
Declaration
public bool HasRightImage { get; }
Property Value
Type |
---|
System.Boolean |
HasRightImageIndices
Gets a value indicating whether RightImageIndices property value has or not.
Declaration
public bool HasRightImageIndices { get; }
Property Value
Type |
---|
System.Boolean |
HasRightImagePadding
Gets a value indicating whether RightImagePadding property value has or not.
Declaration
public bool HasRightImagePadding { get; }
Property Value
Type |
---|
System.Boolean |
HasTag
Gets a value indicating whether Tag property value has or not.
Declaration
public bool HasTag { get; }
Property Value
Type |
---|
System.Boolean |
HasText
Gets a value indicating whether Text property value has or not.
Declaration
public bool HasText { get; }
Property Value
Type |
---|
System.Boolean |
HasTextColor
Gets a value indicating whether TextColor property value has or not.
Declaration
public bool HasTextColor { get; }
Property Value
Type |
---|
System.Boolean |
HasVisible
Gets a value indicating whether Visible property value has or not.
Declaration
public bool HasVisible { get; }
Property Value
Type |
---|
System.Boolean |
HelpText
Gets or sets the subitem help text.
Declaration
public string HelpText { get; set; }
Property Value
Type |
---|
System.String |
LeftImage
Gets or sets the subitem left image.
Declaration
public Image LeftImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
LeftImageIndices
Gets or sets the subitem left side indices of images that stored in tree LeftImageList property.
Declaration
public int[] LeftImageIndices { get; set; }
Property Value
Type |
---|
System.Int32[] |
LeftImagePadding
Gets or sets the subitem padding between text and left images.
Declaration
public int LeftImagePadding { get; set; }
Property Value
Type |
---|
System.Int32 |
LineAlignment
Gets or sets the line alignment of the text in subitem.
Declaration
public StringAlignment LineAlignment { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
RightImage
Gets or sets the subitem image from right side of the text.
Declaration
public Image RightImage { get; set; }
Property Value
Type |
---|
System.Drawing.Image |
RightImageIndices
Gets or sets the subitem right side indices of images that stored in tree RightImageList property.
Declaration
public int[] RightImageIndices { get; set; }
Property Value
Type |
---|
System.Int32[] |
RightImagePadding
Gets or sets padding between text and right side images.
Declaration
public int RightImagePadding { get; set; }
Property Value
Type |
---|
System.Int32 |
Tag
Gets or sets the subitem user data.
Declaration
public object Tag { get; set; }
Property Value
Type |
---|
System.Object |
Text
Gets or sets the subitem text.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
TextColor
Gets or sets the subitem text color.
Declaration
[ThemeStudio]
public Color TextColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Visible
Gets or sets a value indicating whether the is Node subitem is visible or not.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
GetDefaultStyle()
Override this method to return a default style object for your derived class.
Declaration
protected override StyleInfoBase GetDefaultStyle()
Returns
Type | Description |
---|---|
StyleInfoBase | A default style object. |
Overrides
Remarks
You should cache the default style object in a static field.
ResetAlignment()
Reset Alignment property value to default value.
Declaration
public void ResetAlignment()
ResetBackground()
Reset Background property value to default value.
Declaration
public void ResetBackground()
ResetBaseStyle()
Reset BaseStyle property value to default value.
Declaration
public void ResetBaseStyle()
ResetBorder3DStyle()
Reset Border3DStyle property value to default value.
Declaration
public void ResetBorder3DStyle()
ResetBorderColor()
Reset BorderColor property value to default value.
Declaration
public void ResetBorderColor()
ResetBorderSides()
Reset BorderSides property value to default value.
Declaration
public void ResetBorderSides()
ResetBorderSingle()
Reset BorderSingle property value to default value.
Declaration
public void ResetBorderSingle()
ResetBorderStyle()
Reset BorderStyle property value to default value.
Declaration
public void ResetBorderStyle()
ResetFont()
Reset Font property value to default value.
Declaration
public void ResetFont()
ResetHelpText()
Reset HelpText property value to default value.
Declaration
public void ResetHelpText()
ResetLeftImage()
Reset LeftImage property value to default value.
Declaration
public void ResetLeftImage()
ResetLeftImageIndices()
Reset LeftImageIndices property value to default value.
Declaration
public void ResetLeftImageIndices()
ResetLeftImagePadding()
Reset LeftImagePadding property value to default value.
Declaration
public void ResetLeftImagePadding()
ResetLineAlignment()
Reset LineAlignment property value to default value.
Declaration
public void ResetLineAlignment()
ResetRightImage()
Reset RightImage property value to default value.
Declaration
public void ResetRightImage()
ResetRightImageIndices()
Reset RightImageIndices property value to default value.
Declaration
public void ResetRightImageIndices()
ResetRightImagePadding()
Reset RightImagePadding property value to default value.
Declaration
public void ResetRightImagePadding()
ResetTag()
Reset Tag property value to default value.
Declaration
public void ResetTag()
ResetText()
Reset Text property value to default value.
Declaration
public void ResetText()
ResetTextColor()
Reset TextColor property value to default value.
Declaration
public void ResetTextColor()
ResetVisible()
Reset Visible property value to default value.
Declaration
public void ResetVisible()
ShouldSerializeAlignment()
Indicate should or not we serialize Alignment property value.
Declaration
public bool ShouldSerializeAlignment()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Alignment. |
ShouldSerializeBackColor()
Indicate should or not we serialize BackColor property value.
Declaration
public bool ShouldSerializeBackColor()
Returns
Type | Description |
---|---|
System.Boolean | Returns should serialize BackColor property. |
ShouldSerializeBackground()
Indicate should or not we serialize Background property value.
Declaration
public bool ShouldSerializeBackground()
Returns
Type | Description |
---|---|
System.Boolean | Returns should serialize Background property. |
ShouldSerializeBaseStyle()
Indicate should or not we serialize BaseStyle property value.
Declaration
public bool ShouldSerializeBaseStyle()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize BaseStyle. |
ShouldSerializeBorder3DStyle()
Indicate should or not we serialize Border3DStyle property value.
Declaration
public bool ShouldSerializeBorder3DStyle()
Returns
Type | Description |
---|---|
System.Boolean | Returns serialize Border3DStyle property. |
ShouldSerializeBorderColor()
Indicate should or not we serialize BorderColor property value.
Declaration
public bool ShouldSerializeBorderColor()
Returns
Type | Description |
---|---|
System.Boolean | Returns Bool value. |
ShouldSerializeBorderSides()
Indicate should or not we serialize BorderSides property value.
Declaration
public bool ShouldSerializeBorderSides()
Returns
Type | Description |
---|---|
System.Boolean | Returns should serialize Bordersides property. |
ShouldSerializeBorderSingle()
Indicate should or not we serialize BorderSingle property value.
Declaration
public bool ShouldSerializeBorderSingle()
Returns
Type | Description |
---|---|
System.Boolean | Returns bool value. |
ShouldSerializeBorderStyle()
Indicate should or not we serialize BorderStyle property value.
Declaration
public bool ShouldSerializeBorderStyle()
Returns
Type | Description |
---|---|
System.Boolean | Returns should serialize Border3DStyle property. |
ShouldSerializeDisabledTextColor()
Indicate should or not we serialize DisabledTextColor property value.
Declaration
public bool ShouldSerializeDisabledTextColor()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize DisabledTextColor. |
ShouldSerializeFont()
Indicate should or not we serialize Font property value.
Declaration
public bool ShouldSerializeFont()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Font. |
ShouldSerializeHelpText()
Indicate should or not we serialize HelpText property value.
Declaration
public bool ShouldSerializeHelpText()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Help text. |
ShouldSerializeLeftImage()
Indicate should or not we serialize LeftImage property value.
Declaration
public bool ShouldSerializeLeftImage()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize LeftImage. |
ShouldSerializeLeftImageIndices()
Indicate should or not we serialize LeftImageIndices property value.
Declaration
public bool ShouldSerializeLeftImageIndices()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize left Image Indices. |
ShouldSerializeLeftImagePadding()
Indicate should or not we serialize LeftImagePadding property value.
Declaration
public bool ShouldSerializeLeftImagePadding()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serilaize Image Padding. |
ShouldSerializeLineAlignment()
Indicate should or not we serialize LineAlignment property value.
Declaration
public bool ShouldSerializeLineAlignment()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Line Alignment. |
ShouldSerializeRightImage()
Indicate should or not we serialize RightImage property value.
Declaration
public bool ShouldSerializeRightImage()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Right Image. |
ShouldSerializeRightImageIndices()
Indicate should or not we serialize RightImageIndices property value.
Declaration
public bool ShouldSerializeRightImageIndices()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize RightImageIndices. |
ShouldSerializeRightImagePadding()
Indicate should or not we serialize RightImagePadding property value.
Declaration
public bool ShouldSerializeRightImagePadding()
Returns
Type | Description |
---|---|
System.Boolean | Returns should serialize RightImagePadding property. |
ShouldSerializeTag()
Indicate should or not we serialize Tag property value.
Declaration
public bool ShouldSerializeTag()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize Tag property. |
ShouldSerializeText()
Indicate should or not we serialize Text property value.
Declaration
public bool ShouldSerializeText()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize text. |
ShouldSerializeTextColor()
Indicate should or not we serialize TextColor property value.
Declaration
public bool ShouldSerializeTextColor()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize text color. |
ShouldSerializeVisible()
Indicate should or not we serialize Visible property value.
Declaration
public bool ShouldSerializeVisible()
Returns
Type | Description |
---|---|
System.Boolean | Returns a value indicating whether should serialize visible. |