GridViewToggleRowDetailsColumn provides an easy and fast way to toggle row details visibility.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewToggleRowDetailsColumn : GridViewColumn, IFieldDescriptor, INotifyPropertyChanged
Inheritance: objectGridViewColumnGridViewToggleRowDetailsColumn
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridViewToggleRowDetailsColumn class.
public GridViewToggleRowDetailsColumn()
Fields
ExpandModeProperty
DependencyProperty
Identifies the ExpandMode dependency property.
public static readonly DependencyProperty ExpandModeProperty
ToggleButtonStyleProperty
DependencyProperty
Identifies the ToggleButtonStyle dependency property.
public static readonly DependencyProperty ToggleButtonStyleProperty
Properties
Gets or sets the row details expand mode of this column.
public GridViewToggleRowDetailsColumnExpandMode ExpandMode { get; set; }
The expand mode.
ToggleButtonStyle
Style
Gets or sets the style to be applied for the ToggleButton in that column.
public Style ToggleButtonStyle { get; set; }
The ToggleButton style.
Methods
Determines whether the data represented by the column can be filtered by the RadGridView control.
public override bool CanFilter()
true if the data represented by the column can be filtered automatically; otherwise, false.
Overrides:
Determines whether the data represented by the column can be grouped.
public override bool CanGroup()
true if the data represented by the column can be grouped; otherwise, false.
Overrides:
Determines whether the data represented by the column can be sorted.
public override bool CanSort()
true if the data represented by the column can be sorted; otherwise, false.
Overrides:
Copy properties from source column.
public override void CopyPropertiesFrom(GridViewColumn source)
Overrides:
CreateCellElement(GridViewCell, object)
FrameworkElement
Creates the element for the cell in view mode.
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
FrameworkElement
Overrides:
Called when cell element needs refresh.
protected override void RefreshCellElement(FrameworkElement element, DependencyProperty dependencyProperty)
Overrides: