[]
        
(Showing Draft Content)

C1.WinUI.Grid.FlexGridDetailProvider-1

FlexGridDetailProvider<TItem> Class

Implements detail rows for FlexGrid control.

Inheritance
FlexGridDetailProvider<TItem>
Namespace: C1.WinUI.Grid
Assembly: C1.WinUI.Grid.dll
Syntax
public class FlexGridDetailProvider<TItem> : C1Behavior<FlexGrid> 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.

RowDetailTemplateProperty

Identifies the RowDetailTemplate dependency property.

ShowExpandButtonProperty

Identifies the ShowExpandButton dependency property.

Properties

Name Description
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.

DetailVisibilityMode

Gets or sets the detail visibility mode.

Height

Gets or sets the height of the details.

RowDetailTemplate

Gets or sets the template used for the row detail.

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.

OnDetailCellCreating(GridDetailCellCreatingEventArgs)

Raises the DetailCellCreating event.

OnDetailLoading(GridDetailLoadingEventArgs<TItem>)

Raises the DetailLoading event.

ShowDetailAsync(int)

Shows the detail row.

Events

Name Description
DetailCellCreating

Occurs when the detail cell is being created.

DetailLoading

Occurs when the detail cell is being created.