ClassGridViewToggleRowDetailsColumn
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
GridViewToggleRowDetailsColumn()
Initializes a new instance of the GridViewToggleRowDetailsColumn class.
Declaration
public GridViewToggleRowDetailsColumn()
Fields
ExpandModeProperty
Identifies the ExpandMode dependency property.
Declaration
public static readonly DependencyProperty ExpandModeProperty
Field Value
DependencyProperty
ToggleButtonStyleProperty
Identifies the ToggleButtonStyle dependency property.
Declaration
public static readonly DependencyProperty ToggleButtonStyleProperty
Field Value
DependencyProperty
Properties
ExpandMode
Gets or sets the row details expand mode of this column.
Declaration
public GridViewToggleRowDetailsColumnExpandMode ExpandMode { get; set; }
Property Value
GridViewToggleRowDetailsColumnExpandMode
The expand mode.
ToggleButtonStyle
Gets or sets the style to be applied for the ToggleButton in that column.
Declaration
public Style ToggleButtonStyle { get; set; }
Property Value
Style
The ToggleButton style.
Methods
CanEdit(object)
Determines whether the data represented by the column can be edited.
CanFilter()
Determines whether the data represented by the column can be filtered by the RadGridView control.
Declaration
public override bool CanFilter()
Returns
true if the data represented by the column can be filtered automatically; otherwise, false.
Overrides
CanGroup()
Determines whether the data represented by the column can be grouped.
Declaration
public override bool CanGroup()
Returns
true if the data represented by the column can be grouped; otherwise, false.
Overrides
CanSort()
Determines whether the data represented by the column can be sorted.
Declaration
public override bool CanSort()
Returns
true if the data represented by the column can be sorted; otherwise, false.
Overrides
CopyPropertiesFrom(GridViewColumn)
Copy properties from source column.
Declaration
public override void CopyPropertiesFrom(GridViewColumn source)
Parameters
source
Overrides
CreateCellElement(GridViewCell, object)
Creates the element for the cell in view mode.
Declaration
public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
Parameters
cell
dataItem
Returns
FrameworkElement
Overrides
RefreshCellElement(FrameworkElement, DependencyProperty)
Called when cell element needs refresh.
Declaration
protected override void RefreshCellElement(FrameworkElement element, DependencyProperty dependencyProperty)
Parameters
element
FrameworkElement
dependencyProperty
DependencyProperty
Overrides