Table of Contents

Class GroupGridColumn

Namespace
Avalonia.Controls
Assembly
Tripous.Avalonia.Controls.dll

Base class for all group grid columns.

public class GroupGridColumn
Inheritance
GroupGridColumn
Derived
Inherited Members
Extension Methods

Constructors

GroupGridColumn()

Initializes a new instance of the GroupGridColumn class.

public GroupGridColumn()

Properties

CanUserGroup

Gets or sets a value indicating whether users may group by the column.

public bool CanUserGroup { get; set; }

Property Value

bool

CanUserHide

Gets or sets a value indicating whether users may hide the column.

public bool CanUserHide { get; set; }

Property Value

bool

CanUserReorder

Gets or sets a value indicating whether users may reorder the column.

public bool CanUserReorder { get; set; }

Property Value

bool

CanUserResize

Gets or sets a value indicating whether users may resize the column.

public bool CanUserResize { get; set; }

Property Value

bool

DisplayFormat

Gets or sets the display format.

public string DisplayFormat { get; set; }

Property Value

string

GroupSummary

Gets or sets the group summary aggregate kind.

public GroupGridAggregateKind GroupSummary { get; set; }

Property Value

GroupGridAggregateKind

Header

Gets or sets the column header text.

public string Header { get; set; }

Property Value

string

HorizontalAlignment

Gets or sets the horizontal alignment used when drawing cell text.

public GroupGridCellHorizontalAlignment HorizontalAlignment { get; set; }

Property Value

GroupGridCellHorizontalAlignment

IsReadOnly

Gets or sets a value indicating whether the column is read-only.

public bool IsReadOnly { get; set; }

Property Value

bool

IsVisible

Gets or sets a value indicating whether the column is visible.

public bool IsVisible { get; set; }

Property Value

bool

MinWidth

Gets or sets the minimum column width.

public double MinWidth { get; set; }

Property Value

double

Name

Gets or sets the column name or key.

public string Name { get; set; }

Property Value

string

Tag

Gets or sets custom user data.

public object Tag { get; set; }

Property Value

object

TotalSummary

Gets or sets the total summary aggregate kind.

public GroupGridAggregateKind TotalSummary { get; set; }

Property Value

GroupGridAggregateKind

ValueType

Gets or sets the column value type.

public Type ValueType { get; set; }

Property Value

Type

Width

Gets or sets the column width.

public double Width { get; set; }

Property Value

double

Methods

CanAggregate(GroupGridAggregateKind)

Returns true when an aggregate kind is valid for this column.

public virtual bool CanAggregate(GroupGridAggregateKind AggregateKind)

Parameters

AggregateKind GroupGridAggregateKind

The aggregate kind.

Returns

bool

True when the aggregate kind is valid; otherwise, false.

FormatSummaryValue(GroupGridSummaryValue)

Formats a summary value for display.

public virtual string FormatSummaryValue(GroupGridSummaryValue Summary)

Parameters

Summary GroupGridSummaryValue

The summary value.

Returns

string

The formatted summary text.

FormatValue(object)

Formats a value for display.

public virtual string FormatValue(object Value)

Parameters

Value object

The value to format.

Returns

string

The formatted display text.

ParseValue(object)

Parses an editor value before it is written to the adapter.

public virtual object ParseValue(object Value)

Parameters

Value object

The editor value.

Returns

object

The parsed value.