[]
        
(Showing Draft Content)

C1.Win.TreeView.HeaderStyle

HeaderStyle Class

Defines style of header of C1TreeNode.

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

Constructors

Name Description
HeaderStyle()

Initializes a new instance of the HeaderStyle class.

Properties

Name Description
Font

Gets or sets the font.

HorizontalAlign

Gets or sets the horizontal alignment.

VerticalAlign

Gets or sets the vertical alignment.

WordWrap

Gets or sets whether text should be allowed to wrap.

Methods

Name Description
Equals(object)

Determines whether the specified HeaderStyle is equal to the current HeaderStyle.

GetHashCode()

Serves as a hash function for a particular type.

Reset()

Resets this style to its default value.

ResetFont()

Resets the BackColor property to its default value.

ResetHorizontalAlign()

Resets the HorizontalAlign property 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 style has 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.

ShouldSerializeVerticalAlign()

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

ShouldSerializeWordWrap()

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

ToString()

Returns a string that represents the current HeaderStyle.