[]
        
(Showing Draft Content)

C1.Win.TreeView.TreeViewStyles

TreeViewStyles Class

Represents the styles of treeview.

Inheritance
TreeViewStyles
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class TreeViewStyles : TreeColumnStyles, INotifyPropertyChanged

Constructors

Name Description
TreeViewStyles()

Initializes a new instance of the treeview's styles.

Properties

Name Description
Border

Gets or sets thickness of border.

BorderColor

Gets or sets color of border.

BorderStyle

Gets or sets style of border.

CheckBoxColor

Gets or sets the checkbox color.

CheckBoxStyle

Gets or sets style of checkboxes.

Corners

Gets or sets the corners of tree nodes.

DropLineColor

Gets or sets the color of drop line.

ExpandButtonStyle

Gets or sets style of expand buttons.

FocusBorderColor

Gets or sets the color of the focus rectangle.

LinesColor

Gets or sets the color of lines.

LinesStyle

Gets or sets the style of dashed lines.

LinesWidth

Gets or sets the width of lines.

ShowFocusBorder

Gets or sets the value indicating whether a control should show the focus rectangle or not.

ShowLines

Gets or sets a value indicating displays lines or not.

Methods

Name Description
ResetCheckBoxColor()
ResetStyles()

Resets this styles to its default value.

ShouldSerialize()

Returns true if this styles have changed; otherwise, returns false.

ShouldSerializeCheckBoxColor()
ToString()

Returns a string that represents the current TreeViewStyles.