[]
        
(Showing Draft Content)

C1.Blazor.Grid.FlexGridDetailProvider-1

FlexGridDetailProvider<TItem> Class

Implements detail rows for FlexGrid control.

Inheritance
FlexGridDetailProvider<TItem>
Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.Grid.dll
Syntax
public class FlexGridDetailProvider<TItem> : C1Behavior<FlexGrid>, IComponent, IHandleEvent, IHandleAfterRender, IDependencyObject where TItem : class
Type Parameters
Name Description
TItem
Remarks

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.

Constructors

Name Description
FlexGridDetailProvider()

Fields

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.

Properties

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.

Methods

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.