TreeListViewItemCell Class
Represents an item for a TreeListView control.
[TemplatePart(Name = "PART_ResizeGripper", Type = typeof(FrameworkElement))]
public class TreeListViewItemCell : ContentControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
- Inheritance:
- Object DispatcherObject DependencyObject 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
- Boolean:
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
Inherited Members
- Object.ToString()
- Object.Equals(Object)
- Object.Equals(Object, Object)
- Object.ReferenceEquals(Object, Object)
- Object.GetHashCode()
- Object.GetType()
- Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()