Class MetaColumnSortItem
Represents a sort item of the meta column.
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class MetaColumnSortItem : INotifyPropertyChanged
Constructors
View SourceMetaColumnSortItem()
Initializes a new instance of the MetaColumnSortItem class.
Declaration
public MetaColumnSortItem()
Properties
View SourceHeaderLabel
Gets or sets the header label.
Declaration
public object HeaderLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
IsSelected
Gets or sets a value indicating whether the sort item is selected.
Declaration
public bool IsSelected { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
Only one item should be selected.
ListLabel
Gets or sets the list label displayed in the list.
Declaration
public object ListLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
PropertyName
Gets or sets the property name that is used for sorting.
Declaration
public string PropertyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SortComparer
Gets or sets the sort comparer.
Declaration
public IListSortComparer SortComparer { get; set; }
Property Value
| Type | Description |
|---|---|
| IListSortComparer |
Remarks
The SortComparer has priority of the PropertyName and SortDirection.
SortDirection
Gets or sets the sort direction.
Declaration
public ListSortDirection SortDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| ListSortDirection |
Events
View SourcePropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |