TableRoot 類別

定義

包含資料表區段或整個資料表的 TableSection

public sealed class TableRoot : Xamarin.Forms.TableSectionBase<Xamarin.Forms.TableSection>
type TableRoot = class
    inherit TableSectionBase<TableSection>
繼承

建構函式

TableRoot()

建構並初始化 TableRoot 類別的新執行個體。

TableRoot(String)

使用標題建構並初始化 TableRoot 類別的新執行個體。

屬性

BindingContext

取得或設定物件,這個物件包含屬於此 BindableObject 屬性繫結屬性將設為目標的屬性。

(繼承來源 BindableObject)
Count

取得此 TableSectionBase<T> 物件中的項目數。

(繼承來源 TableSectionBase<T>)
Dispatcher

包含資料表區段或整個資料表的 TableSection

(繼承來源 BindableObject)
Item[Int32]

傳回項目,儲存在此 TableSectionBase<T> 物件中 index 所指定的位置。

(繼承來源 TableSectionBase<T>)
TextColor

包含資料表區段或整個資料表的 TableSection

(繼承來源 TableSectionBase)
Title

取得或設定標題。

(繼承來源 TableSectionBase)

方法

Add(IEnumerable<T>)

將項目清單新增至此 TableSectionBase<T> 物件。

(繼承來源 TableSectionBase<T>)
Add(T)

將項目新增至此 TableSectionBase<T> 物件。

(繼承來源 TableSectionBase<T>)
ApplyBindings()

將繫結套用至 BindingContext

(繼承來源 BindableObject)
Clear()

移除此 TableSectionBase<T> 中的所有項目。

(繼承來源 TableSectionBase<T>)
ClearValue(BindableProperty)

清除 SetValue 針對 property 所設定的任何值。

(繼承來源 BindableObject)
ClearValue(BindablePropertyKey)

清除 SetValue 針對 propertyKey 所識別屬性設定的任何值。

(繼承來源 BindableObject)
CoerceValue(BindableProperty)

包含資料表區段或整個資料表的 TableSection

(繼承來源 BindableObject)
CoerceValue(BindablePropertyKey)

包含資料表區段或整個資料表的 TableSection

(繼承來源 BindableObject)
Contains(T)

傳回布林值,指出此 TableSectionBase<T> 是否參考特定物件。

(繼承來源 TableSectionBase<T>)
CopyTo(T[], Int32)

從指定的索引開始,將目前集合的項目複製到 Array

(繼承來源 TableSectionBase<T>)
GetEnumerator()

傳回列舉值,逐一查看這個 TableSectionBase<T> 物件中的專案。

(繼承來源 TableSectionBase<T>)
GetValue(BindableProperty)

傳回 BindableProperty 中包含的值。

(繼承來源 BindableObject)
GetValues(BindableProperty, BindableProperty)
已過時。

供 Xamarin.Forms 平台內部使用。

(繼承來源 BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
已過時。

供 Xamarin.Forms 平台內部使用。

(繼承來源 BindableObject)
IndexOf(T)

傳回此 TableSectionBase<T> 物件中第一個出現之 item 的索引。

(繼承來源 TableSectionBase<T>)
Insert(Int32, T)

將項目插入指定位置的這個 TableSectionBase<T> 物件。

(繼承來源 TableSectionBase<T>)
IsSet(BindableProperty)

如果目標屬性存在且已設定,則傳回 true

(繼承來源 BindableObject)
OnBindingContextChanged()

對此 TableSectionBase<T> 物件中的每個項目,呼叫 SetInheritedBindingContext(BindableObject, Object) 方法,並傳遞新的繫結內容。

(繼承來源 TableSectionBase<T>)
OnPropertyChanged(String)

從子類別呼叫這個方法,以通知屬性發生了變更。

(繼承來源 BindableObject)
OnPropertyChanging(String)

從子類別呼叫這個方法,以通知屬性即將發生變更。

(繼承來源 BindableObject)
Remove(T)

從此 TableSectionBase<T> 物件中移除指定的項目。

(繼承來源 TableSectionBase<T>)
RemoveAt(Int32)

從此 TableSectionBase<T> 物件的 index 指定位置,移除指定的項目。

(繼承來源 TableSectionBase<T>)
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> 物件中新增或移除一或多個項目時所引發的事件。

(繼承來源 TableSectionBase<T>)
PropertyChanged

在屬性變更時引發。

(繼承來源 BindableObject)
PropertyChanging

在屬性即將變更時引發。

(繼承來源 BindableObject)

明確介面實作

ICollection<T>.IsReadOnly

傳回 false;可變更此項目中的物件集合。

(繼承來源 TableSectionBase<T>)
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

供 Xamarin.Forms 平台內部使用。

(繼承來源 BindableObject)
IEnumerable.GetEnumerator()

傳回列舉程式,逐一查看此 TableSectionBase<T> 物件中的物件集合。

(繼承來源 TableSectionBase<T>)

擴充方法

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

包含資料表區段或整個資料表的 TableSection

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

包含資料表區段或整個資料表的 TableSection

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

建立並將繫結套用至屬性。

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
已過時。

從運算式建立及套用繫結。

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

包含資料表區段或整個資料表的 TableSection

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 平台內部使用。

適用於