다음을 통해 공유


CellExtensions.SetIsGroupHeader<TView,TItem>(TItem, Boolean) Method

Definition

public:
generic <typename TView, typename TItem>
 where TView : Microsoft::Maui::Controls::BindableObject, Microsoft::Maui::Controls::ITemplatedItemsView<TItem> where TItem : Microsoft::Maui::Controls::BindableObject[System::Runtime::CompilerServices::Extension]
 static void SetIsGroupHeader(TItem cell, bool value);
public static void SetIsGroupHeader<TView,TItem> (this TItem cell, bool value) where TView : Microsoft.Maui.Controls.BindableObject, Microsoft.Maui.Controls.ITemplatedItemsView<TItem> where TItem : Microsoft.Maui.Controls.BindableObject;
static member SetIsGroupHeader : 'Item * bool -> unit (requires 'View :> Microsoft.Maui.Controls.BindableObject and 'View :> Microsoft.Maui.Controls.ITemplatedItemsView<'Item> and 'Item :> Microsoft.Maui.Controls.BindableObject)
<Extension()>
Public Sub SetIsGroupHeader(Of TView As {BindableObject, ITemplatedItemsView(Of TItem)}, TItem As {BindableObject, ITemplatedItemsView(Of TItem)}) (cell As TItem, value As Boolean)

Type Parameters

TView
TItem

Parameters

cell
TItem
value
Boolean

Applies to