ColumnState Class

Definition

Representation of the persistent state associated with a TableColumnDefinition in a particular instance of a IWpfTableControl.

public ref class ColumnState
[Windows::Foundation::Metadata::WebHostHidden]
class ColumnState
public class ColumnState
type ColumnState = class
Public Class ColumnState
Inheritance
ColumnState
Derived

Constructors

ColumnState(String, Boolean, Double, Int32, Boolean)

Create a ColumnState with the indicated attributes.

Fields

DescendingSort

Indicates whether the sort is a descending sort.

IsVisible

The current visibility of the column.

Name

The name of the column that this state applies to. Equal to TableColumnDefinition.Name.

SortPriority

Sort priority for the column. A priority of 0 means the table is not sorted using this column. If more than one column has a priority > 0, then the table sorted by chaining the columns together in priority order (e.g. if two rows are equal according to the column with a priority of 1, then the two rows are compared using the column with a priority of 2, etc.).

Width

The current visibility of the column.

Applies to