[]
        
(Showing Draft Content)

C1.Xamarin.Forms.Grid.FlexGridDetailProvider-1

FlexGridDetailProvider<TItem> Class

Implements detail rows for FlexGrid control.

Inheritance
FlexGridDetailProvider<TItem>
Namespace: C1.Xamarin.Forms.Grid
Assembly: C1.Xamarin.Forms.Grid.dll
Syntax
public class FlexGridDetailProvider<TItem> : Behavior<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
DetailExpandedIconTemplateProperty
DetailVisibilityModeProperty
HeightProperty
RowDetailTemplateProperty
ShowExpandButtonProperty

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.