[]
        
(Showing Draft Content)

C1.Win.TreeView.TreeNodeCellStyles

TreeNodeCellStyles Class

Defines styles of cell of C1TreeNode.

Inheritance
TreeNodeCellStyles
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
public class TreeNodeCellStyles : INotifyPropertyChanged

Constructors

Name Description
TreeNodeCellStyles()

Initializes a new instance of the TreeNodeCellStyles class.

Properties

Name Description
Default

Gets the default styles.

Disabled

Gets the disabled styles.

Editor

Gets the editor styles.

Font

Gets or sets the font.

HorizontalAlign

Gets or sets the horizontal alignment.

Hot

Gets the hot styles.

HotSelected

Gets the hot selected styles.

Margins

Gets or sets the thickness of the margins around the node cell.

Padding

Gets or sets the thickness of the padding between the node cell edges and its content.

Selected

Gets the selected styles.

UnfocusedSelected

Gets the unfocused selected styles.

VerticalAlign

Gets or sets the vertical alignment.

WordWrap

Gets or sets whether text should be allowed to wrap.

Methods

Name Description
OnPropertyChanged(string)

Fires the PropertyChanged event.

ResetFont()

Resets the Font property to its default value.

ResetHorizontalAlign()

Resets the HorizontalAlign property to its default value.

ResetMargins()

Resets the Margins property to its default value.

ResetPadding()

Resets the Padding property to its default value.

ResetStyles()

Resets this styles to its default value.

ResetVerticalAlign()

Resets the VerticalAlign property to its default value.

ResetWordWrap()

Resets the WordWrap property to its default value.

ShouldSerialize()

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

ShouldSerializeFont()

Returns true if the Font has changed; otherwise, returns false.

ShouldSerializeHorizontalAlign()

Returns true if the HorizontalAlign has changed; otherwise, returns false.

ShouldSerializeMargins()

Returns true if the Margins has changed; otherwise, returns false.

ShouldSerializePadding()

Returns true if the Padding has changed; otherwise, returns false.

ShouldSerializeVerticalAlign()

Returns true if the VerticalAlign has changed; otherwise, returns false.

ShouldSerializeWordWrap()

Returns true if the WordWrap has changed; otherwise, returns false.

Style_PropertyChanged(object, PropertyChangedEventArgs)

Handles the PropertyChanged event of the styles.

Events

Name Description
PropertyChanged

Occurs when a property value changes.