次の方法で共有


TemplatedItemsList<TView,TItem> クラス

定義

generic <typename TView, typename TItem>
 where TView : BindableObject, IItemsView<TItem> where TItem : BindableObjectpublic ref class TemplatedItemsList sealed : Microsoft::Maui::Controls::BindableObject, IDisposable, Microsoft::Maui::Controls::ITemplatedItemsList<TItem>, System::Collections::Generic::IEnumerable<TItem>, System::Collections::Generic::IReadOnlyCollection<TItem>, System::Collections::Generic::IReadOnlyList<TItem>, System::Collections::IList, System::Collections::Specialized::INotifyCollectionChanged
public sealed class TemplatedItemsList<TView,TItem> : Microsoft.Maui.Controls.BindableObject, IDisposable, Microsoft.Maui.Controls.ITemplatedItemsList<TItem>, System.Collections.Generic.IEnumerable<TItem>, System.Collections.Generic.IReadOnlyCollection<TItem>, System.Collections.Generic.IReadOnlyList<TItem>, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged where TView : BindableObject, IItemsView<TItem> where TItem : BindableObject
type TemplatedItemsList<'View, 'Item (requires 'View :> BindableObject and 'View :> IItemsView<'Item> and 'Item :> BindableObject)> = class
    inherit BindableObject
    interface ITemplatedItemsList<'Item (requires 'Item :> BindableObject)>
    interface IReadOnlyList<'Item (requires 'Item :> BindableObject)>
    interface seq<'Item (requires 'Item :> BindableObject)>
    interface IEnumerable
    interface IReadOnlyCollection<'Item (requires 'Item :> BindableObject)>
    interface INotifyCollectionChanged
    interface IList
    interface ICollection
    interface IDisposable
Public NotInheritable Class TemplatedItemsList(Of TView, TItem)
Inherits BindableObject
Implements IDisposable, IEnumerable(Of TItem), IList, INotifyCollectionChanged, IReadOnlyCollection(Of TItem), IReadOnlyList(Of TItem), ITemplatedItemsList(Of TItem)

型パラメーター

TView
TItem
継承
TemplatedItemsList<TView,TItem>
実装

フィールド

NameProperty

Nameバインド可能なプロパティ。

ShortNameProperty

ShortNameバインド可能なプロパティ。

プロパティ

BindingContext

この BindableObjectに属するバインドされたプロパティの対象となるプロパティを含むオブジェクトを取得または設定します。 これはバインド可能なプロパティです。

(継承元 BindableObject)
Count
Dispatcher

このバインド可能なオブジェクトが作成されたときに使用可能だったディスパッチャーを取得します。それ以外の場合は、使用可能な最も近いディスパッチャー (おそらくウィンドウ/アプリ) を検索しようとします。

(継承元 BindableObject)
GroupDisplayBinding
GroupHeaderTemplate
GroupHeaderTemplateProperty
GroupShortNameBinding
HeaderContent
IsGroupingEnabled
IsGroupingEnabledProperty
Item[Int32]
ItemsSource
Name
Parent
ProgressiveLoadingProperty
ShortName
ShortNames

メソッド

ActivateContent(Int32, Object)
ApplyBindings()

現在のすべてのバインディングを に BindingContext適用します。

(継承元 BindableObject)
ClearValue(BindableProperty)

バインド可能なプロパティに対して以前に設定された値をクリアします。

(継承元 BindableObject)
ClearValue(BindablePropertyKey)

バインド可能なプロパティに対して以前に設定された値をクリアします。その値は、そのキーによって識別されます。

(継承元 BindableObject)
CoerceValue(BindableProperty)

指定したバインド可能なプロパティの値を強制します。 これは、指定されたバインド可能なプロパティを BindableProperty.CoerceValueDelegate 呼び出すことによって行われます。

(継承元 BindableObject)
CoerceValue(BindablePropertyKey)

指定したバインド可能なプロパティの値を強制します。 これは、指定されたバインド可能なプロパティを BindableProperty.CoerceValueDelegate 呼び出すことによって行われます。

(継承元 BindableObject)
CreateContent(Int32, Object, Boolean)
Dispose()
GetDescendantCount()
GetEnumerator()
GetGlobalIndexForGroup(ITemplatedItemsList<TItem>)
GetGlobalIndexOfGroup(Object)
GetGlobalIndexOfItem(Object)
GetGlobalIndexOfItem(Object, Object)
GetGroupAndIndexOfItem(Object)
GetGroupAndIndexOfItem(Object, Object)
GetGroupIndexFromGlobal(Int32, Int32)
GetValue(BindableProperty)

指定されたバインド可能なプロパティに含まれる値を返します。

(継承元 BindableObject)
IndexOf(TItem)
IsSet(BindableProperty)

バインド可能なプロパティが存在し、値が設定されているかどうかを判断します。

(継承元 BindableObject)
OnBindingContextChanged()

BindingContextChanged イベントを発生させます。

(継承元 BindableObject)
OnPropertyChanged(String)

PropertyChanged イベントを発生させます。

(継承元 BindableObject)
OnPropertyChanging(String)

PropertyChanging イベントを発生させます。

(継承元 BindableObject)
RemoveBinding(BindableProperty)

バインド可能なプロパティから、以前に設定したバインドを削除します。

(継承元 BindableObject)
SelectDataTemplate(Object)
SetBinding(BindableProperty, BindingBase)

バインド可能なプロパティにバインドを割り当てます。

(継承元 BindableObject)
SetValue(BindableProperty, Object)

指定したバインド可能なプロパティの値を設定します。

(継承元 BindableObject)
SetValue(BindablePropertyKey, Object)

指定したバインド可能なプロパティの値を設定します。

(継承元 BindableObject)
UnapplyBindings()

現在のコンテキストから現在のすべてのバインドを削除します。

(継承元 BindableObject)

イベント

BindingContextChanged

BindingContext プロパティの値が変化したときに発生します。

(継承元 BindableObject)
CollectionChanged
GroupedCollectionChanged
PropertyChanged

プロパティ値が変更するときに発生します。

(継承元 BindableObject)
PropertyChanging

プロパティ値が変更されようとしている場合に発生します。

(継承元 BindableObject)

明示的なインターフェイスの実装

ICollection.CopyTo(Array, Int32)
ICollection.IsSynchronized
ICollection.SyncRoot
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (継承元 BindableObject)
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Clear()
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)
IList.RemoveAt(Int32)
ITemplatedItemsList<TItem>.BindingContext
ITemplatedItemsList<TItem>.GetGroup(Int32)
ITemplatedItemsList<TItem>.GroupedCollectionChanged
ITemplatedItemsList<TItem>.ListProxy
ITemplatedItemsList<TItem>.PropertyChanged
ITemplatedItemsList<TItem>.UpdateContent(TItem, Int32)
ITemplatedItemsList<TItem>.UpdateHeader(TItem, Int32)

拡張メソッド

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppTheme<T>(BindableObject, BindableProperty, T, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

プロパティにバインドを作成し、適用します。

適用対象