[]
Implements detail rows for FlexGrid control.
public class FlexGridDetailProvider<TItem> : C1Behavior<FlexGrid>, IComponent, IHandleEvent, IHandleAfterRender, IDependencyObject where TItem : class
Name | Description |
---|---|
TItem |
To add detail rows to a FlexGrid control, create an instance of a FlexGridDetailProvider<TItem> and add it to the Behaviors property collection, then set RowDetailTemplate or handle DetailCellCreating to provide the details.
Name | Description |
---|---|
FlexGridDetailProvider() |
Name | Description |
---|---|
DetailCollapsedIconTemplateProperty | Identifies the DetailCollapsedIconTemplate dependency property. |
DetailExpandedIconTemplateProperty | Identifies the DetailExpandedIconTemplate dependency property. |
DetailVisibilityModeProperty | Identifies the DetailVisibilityMode dependency property. |
HeightProperty | Identifies the Height dependency property. |
ShowExpandButtonProperty | Identifies the ShowExpandButton dependency property. |
Name | Description |
---|---|
ChildContent | |
DetailCollapsedIconTemplate | Gets or sets the template used to create the icon displayed when the detail row is collapsed. |
DetailExpandedIconTemplate | Gets or sets the template used to create the icon displayed when the detail row is expanded. |
DetailLoading | Occurs when the detail cell is being created. |
DetailVisibilityMode | Gets or sets the detail visibility mode. |
Height | Gets or sets the height of the details. |
ShowExpandButton | Gets or sets whether to show the expand/collapse buttons in the row headers. |
Name | Description |
---|---|
HideDetailAsync(int) | Hides the detail row. |
IsDetailVisible(int) | Determines whether the detail row is visible. |
OnAttachedTo(FlexGrid) | Called when the behavior is attached to the grid. |
OnDetachingFrom(FlexGrid) | Called when the behavior is detaching from the grid. |
OnDetailLoading(GridDetailLoadingEventArgs<TItem>) | Raises the DetailLoading event. |
ShowDetailAsync(int) | Shows the detail row. |