Class TreeListViewColumnDescription
Dependency Object attached to the TreeListView
object
in order to declare the columns that will create the list.
Inheritance
Inherited Members
Namespace: Phoenix.Controls
Assembly: Phoenix.Controls.TreeListView.dll
Syntax
public class TreeListViewColumnDescription : DependencyObject
Fields
View SourceCellTemplateProperty
Using a DependencyProperty
for CellTemplate
to enable styling and binding.
Declaration
public static readonly DependencyProperty CellTemplateProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
CellTemplateSelectorProperty
Using a DependencyProperty
for CellTemplateSelector
to enable styling and binding.
Declaration
public static readonly DependencyProperty CellTemplateSelectorProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
ColumnDescriptionProperty
Using a DependencyProperty
for ColumnDescription
to enable styling and binding.
Declaration
public static readonly DependencyProperty ColumnDescriptionProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
ColumnIdProperty
Using a DependencyProperty
for ColumnId
to enable styling and binding.
Declaration
public static readonly DependencyProperty ColumnIdProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderContainerStyleProperty
Using a DependencyProperty
for HeaderContainerStyle
to enable styling and binding.
Declaration
public static readonly DependencyProperty HeaderContainerStyleProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderContentProperty
Using a DependencyProperty
for HeaderContent
to enable styling and binding.
Declaration
public static readonly DependencyProperty HeaderContentProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
HeaderTemplateProperty
Using a DependencyProperty
for HeaderTemplate
to enable styling and binding.
Declaration
public static readonly DependencyProperty HeaderTemplateProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
IsHierarchyColumnProperty
Using a DependencyProperty
for IsHierarchyColumn
to enable styling and binding.
Declaration
public static readonly DependencyProperty IsHierarchyColumnProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
IsVisibleProperty
Using a DependencyProperty
for IsVisible
to enable styling and binding.
Declaration
public static readonly DependencyProperty IsVisibleProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
WidthProperty
Using a DependencyProperty
for Width
to enable styling and binding.
Declaration
public static readonly DependencyProperty WidthProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty |
Properties
View SourceCellTemplate
Gets or sets the DataTemplate
used for the cells in this column.
Declaration
public DataTemplate CellTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate |
CellTemplateSelector
Gets or sets the DataTemplateSelector
used for the cells in this column.
Declaration
public DataTemplateSelector CellTemplateSelector { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Controls.DataTemplateSelector |
ColumnId
Gets or sets the identifier for this column.
Declaration
public object ColumnId { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
DisplayMemberBinding
Gets or sets the member that will be displayed in this column for
the object bound to the TreeListView
.
Declaration
public BindingBase DisplayMemberBinding { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Data.BindingBase |
EffectiveCellTemplate
Gets the DataTemplate
selected by CellTemplateSelector
.
Declaration
public DataTemplate EffectiveCellTemplate { get; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate |
HeaderContainerStyle
Gets or sets the style for the header.
Declaration
public Style HeaderContainerStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style |
HeaderContent
Gets or sets the content of the column's header.
Declaration
public object HeaderContent { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
HeaderTemplate
Gets or sets the DataTemplate
for the column's header.
Declaration
public DataTemplate HeaderTemplate { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.DataTemplate |
IsHierarchyColumn
Gets or sets a value indicating whether this is the column where the hierarchy will be represented.
Declaration
public bool IsHierarchyColumn { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsVisible
Gets or sets a value indicating whether this column is visible.
Declaration
public bool IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Width
Gets or sets the width of the column.
Declaration
[TypeConverter(typeof(LengthConverter))]
public double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
View SourceGetColumnDescription(DependencyObject)
Gets the column description for a specific object.
Declaration
public static TreeListViewColumnDescription GetColumnDescription(DependencyObject columnObject)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | columnObject | Object to get column description for. |
Returns
Type | Description |
---|---|
TreeListViewColumnDescription | Column description for the specified object. |
SetColumnDescription(DependencyObject, TreeListViewColumnDescription)
Sets the column description for a specific object.
Declaration
public static void SetColumnDescription(DependencyObject columnObject, TreeListViewColumnDescription description)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | columnObject | Object to set the column description for. |
TreeListViewColumnDescription | description | Column description to set for the object. |
Events
View SourceVisibilityChanged
Event triggered when visibility of this column has changed.
Declaration
public event EventHandler VisibilityChanged
Event Type
Type | Description |
---|---|
System.EventHandler |