[]
Represents a column used in Columns.
[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(ListHeader))]
[StyleTypedProperty(Property = "SubItemStyle", StyleTargetType = typeof(SubItem))]
public abstract class ListColumn : DependencyObject
<StyleTypedProperty(Property:="HeaderStyle", StyleTargetType:=GetType(ListHeader))>
<StyleTypedProperty(Property:="SubItemStyle", StyleTargetType:=GetType(SubItem))>
Public MustInherit Class ListColumn
Inherits DependencyObject
Name | Description |
---|---|
ActualWidth | Gets the current width of the column in pixels. |
CanUserResize | Gets or sets a value that indicates whether the user can adjust the column width using the mouse. |
CanUserSort | Gets or sets a value that indicates whether the user can sort the column by clicking the column header. |
ElementStyle | Gets or sets the style that is used when rendering the element that the column displays for a SubItem. |
Header | Gets or sets the content of the column header. |
HeaderStyle | Gets or sets the style that is used when rendering the column header. |
IsAutoGenerated | Gets a value that indicates whether the column is auto-generated or not. |
MemberPath | Gets or sets the name or path of the property that is displayed for each data item. |
SortDirection | Gets the direction of sort operation. |
SubItemStyle | Gets or sets the style that is used when rendering SubItems in the column. |
Visibility | Gets or sets the visibility of the column. |
Width | Gets or sets the column width or an automatic sizing mode. |
Name | Description |
---|---|
GenerateElement(SubItem) | When overridden in a derived class, gets a read-only element that is bound to the column according to GrapeCity.Windows.InputMan.ListColumn.MemberPath property value. |
GetSubItem(object) | Gets the showing SubItem according to specific |
GetSubItemData(object) | Gets the specific data that is set by user. |
ResetCanUserResize() | Reset the CanUserResize property to default value. |
ResetCanUserSort() | Reset the CanUserSort property to default value. |
ResetWidth() | Reset the Width property to default value. |