TableSectionBase<T> クラス

定義

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

public abstract class TableSectionBase<T> : Xamarin.Forms.TableSectionBase, System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T>, System.Collections.Specialized.INotifyCollectionChanged where T : BindableObject
type TableSectionBase<'T (requires 'T :> BindableObject)> = class
    inherit TableSectionBase
    interface IList<'T (requires 'T :> BindableObject)>
    interface ICollection<'T (requires 'T :> BindableObject)>
    interface seq<'T (requires 'T :> BindableObject)>
    interface IEnumerable
    interface INotifyCollectionChanged

型パラメーター

T
継承
System.Object
TableSectionBase<T>
派生
実装
System.Collections.Generic.ICollection<T> System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IList<T> System.Collections.IEnumerable System.Collections.Specialized.INotifyCollectionChanged

注釈

セクションは、画面のセルをグループ化するために使用され、 の唯一の有効な直接の TableRoot子です。 セクションには、新しい TableRootを含む任意の標準 Cells を含めることができます。

TableRootセクションに埋め込まれている s を使用して、新しいより深いレベルに移動します。

開発者は、ヘッダーとフッターを文字列 (ヘッダーとフッター) プロパティとして、または表示するビュー (HeaderView と FooterView) として割り当てることができます。 内部的には、これは同じストレージを使用するため、表示できるのはどちらか一方だけです。

コンストラクター

TableSectionBase<T>()

空のタイトルを使用して、新しい TableSection インスタンスが構築されます。

TableSectionBase<T>(String)

指定した TableSection を使用して、新しい title インスタンスが構築されます。

プロパティ

BindingContext

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

(継承元 BindableObject)
Count

この TableSectionBase<T> オブジェクト内の項目数が取得されます。

Dispatcher

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

(継承元 BindableObject)
Item[Int32]

この TableSectionBase<T> オブジェクト内で、index によって指定された場所に格納されている項目が返されます。

TextColor

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

(継承元 TableSectionBase)
Title

タイトルを取得または設定します。

(継承元 TableSectionBase)

メソッド

Add(IEnumerable<T>)

この TableSectionBase<T> オブジェクトに項目のリストが追加されます。

Add(T)

この TableSectionBase<T> オブジェクトに項目が追加されます。

ApplyBindings()

BindingContext にバインディングを適用します。

(継承元 BindableObject)
Clear()

この TableSectionBase<T> 内のすべての項目が削除されます。

ClearValue(BindableProperty)

propertySetValue によって設定された値を消去します。

(継承元 BindableObject)
ClearValue(BindablePropertyKey)

propertyKey によって識別されるプロパティの SetValue によって設定される値を消去します。

(継承元 BindableObject)
CoerceValue(BindableProperty)

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

(継承元 BindableObject)
CoerceValue(BindablePropertyKey)

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

(継承元 BindableObject)
Contains(T)

この TableSectionBase<T> に特定のオブジェクトへの参照が含まれているかどうかを示すブール値が返されます。

CopyTo(T[], Int32)

現在のコレクションの要素が System.Array にコピーされます。指定したインデックスからコピーが開始されます。

GetEnumerator()

この TableSectionBase<T> オブジェクト内の項目を反復処理する列挙子を返します。

GetValue(BindableProperty)

BindableProperty に含まれる値を返します。

(継承元 BindableObject)
GetValues(BindableProperty, BindableProperty)
古い.

Xamarin.Forms プラットフォームによる内部使用向け。

(継承元 BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
古い.

Xamarin.Forms プラットフォームによる内部使用向け。

(継承元 BindableObject)
IndexOf(T)

この TableSectionBase<T> オブジェクト内で最初に見つかった item のインデックスが返されます。

Insert(Int32, T)

この TableSectionBase<T> オブジェクトの指定された位置に項目が挿入されます。

IsSet(BindableProperty)

ターゲット プロパティが存在し、設定されている場合、true を返します。

(継承元 BindableObject)
OnBindingContextChanged()

SetInheritedBindingContext(BindableObject, Object) メソッドが呼び出され、この TableSectionBase<T> オブジェクト内の各項目に新しいバインディング コンテキストが渡されます。

OnPropertyChanged(String)

子クラスからこのメソッドを呼び出し、プロパティが変更されたことを通知します。

(継承元 BindableObject)
OnPropertyChanging(String)

子クラスからこのメソッドを呼び出し、プロパティで変更が行われることを通知します。

(継承元 BindableObject)
Remove(T)

この TableSectionBase<T> オブジェクトから、指定した項目が削除されます。

RemoveAt(Int32)

この TableSectionBase<T> オブジェクトから、index によって指定された位置にある指定されたオブジェクトが削除されます。

RemoveBinding(BindableProperty)

以前に設定されたバインディングを削除します。

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

プロパティにバインディングを割り当てます。

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

指定したプロパティの値を設定します。

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

propertyKey の値を設定します。

(継承元 BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

Xamarin.Forms プラットフォームによる内部使用向け。

(継承元 BindableObject)
UnapplyBindings()

以前に設定されたバインディングをすべて解除します。

(継承元 BindableObject)

イベント

BindingContextChanged

BindingContext プロパティが変更されるたびに発生します。

(継承元 BindableObject)
CollectionChanged

この TableSectionBase<T> オブジェクトに対して 1 つまたは複数の項目の追加または削除が行われた場合に発生するイベント。

PropertyChanged

プロパティが変更されたときに発生します。

(継承元 BindableObject)
PropertyChanging

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

(継承元 BindableObject)

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

ICollection<T>.IsReadOnly

false が返されます。この中のオブジェクトのコレクションは変更できます。

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

Xamarin.Forms プラットフォームによる内部使用向け。

(継承元 BindableObject)
IEnumerable.GetEnumerator()

この TableSectionBase<T> オブジェクト内のオブジェクトのコレクションを反復処理する列挙子が返されます。

拡張メソッド

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

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

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
古い.

式からバインドを作成し適用します。

SetOnAppTheme<T>(BindableObject, BindableProperty, T, T)

Xamarin.Forms によってレンダリングされる T 型のインスタンスを含むテーブル セクション。

ForEach<T>(IEnumerable<T>, Action<T>)

Xamarin.Forms プラットフォームによる内部使用向け。

GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

Xamarin.Forms プラットフォームによる内部使用向け。

IndexOf<T>(IEnumerable<T>, T)

Xamarin.Forms プラットフォームによる内部使用向け。

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

Xamarin.Forms プラットフォームによる内部使用向け。

Prepend<T>(IEnumerable<T>, T)

Xamarin.Forms プラットフォームによる内部使用向け。

適用対象