TreeListViewItemCell Class
Represents an item for a TreeListView control.
[TemplatePart(Name = "PART_ResizeGripper", Type = typeof(FrameworkElement))]
public class TreeListViewItemCell : ContentControl
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl object
Constructors
TreeListViewItemCell()
Initializes an instance of the TreeListViewItemCell class.
public TreeListViewItemCell()
TreeListViewItemCell(TreeListViewColumn)
Initializes an instance of the TreeListViewItemCell class.
public TreeListViewItemCell(TreeListViewColumn column)
Parameter | Type | Description |
---|---|---|
column | TreeListViewColumn | The TreeListViewColumn in which the cell resides. |
Properties
Column
Gets the TreeListViewColumn in which the cell resides.
public TreeListViewColumn Column { get; }
Property Value
- TreeListViewColumn:
The TreeListViewColumn in which the cell resides.
IndentAmount
Gets or sets the amount that this cell's content is indented.
public double IndentAmount { get; set; }
Property Value
- double:
The amount that this cell's content is indented.
IsResizeGripperEnabled
Gets whether the resizing header gripper is enabled.
public bool IsResizeGripperEnabled { get; }
Property Value
- bool:
true
if the resizing header gripper is enabled; otherwise,false
. The default value isfalse
.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
public override void OnApplyTemplate()
Fields
ColumnProperty
Identifies the Column dependency property. This field is read-only.
public static readonly DependencyProperty ColumnProperty
IndentAmountProperty
Identifies the IndentAmount dependency property. This field is read-only.
public static readonly DependencyProperty IndentAmountProperty
IsResizeGripperEnabledProperty
Identifies the IsResizeGripperEnabled dependency property. This field is read-only.
public static readonly DependencyProperty IsResizeGripperEnabledProperty