共用方式為


TableSectionBase<T> 類別

定義

定義資料表區段的抽象基底類別。

generic <typename T>
 where T : BindableObjectpublic ref class TableSectionBase abstract : Microsoft::Maui::Controls::TableSectionBase, Microsoft::Maui::IVisualTreeElement, System::Collections::Generic::ICollection<T>, System::Collections::Generic::IEnumerable<T>, System::Collections::Generic::IList<T>, System::Collections::Specialized::INotifyCollectionChanged
public abstract class TableSectionBase<T> : Microsoft.Maui.Controls.TableSectionBase, Microsoft.Maui.IVisualTreeElement, 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 IVisualTreeElement
    interface INotifyCollectionChanged
Public MustInherit Class TableSectionBase(Of T)
Inherits TableSectionBase
Implements ICollection(Of T), IEnumerable(Of T), IList(Of T), INotifyCollectionChanged, IVisualTreeElement

類型參數

T
繼承
TableSectionBase<T>
衍生
實作

備註

要加入。

建構函式

TableSectionBase<T>()

建構不含空白標頭的區段。

TableSectionBase<T>(String)

使用指定的標頭建構 Section。

屬性

BindingContext

取得或設定 物件,其中包含屬於這個 BindableObject之系結屬性的目標屬性。 這是可繫結屬性。

(繼承來源 BindableObject)
Count

定義資料表區段的抽象基底類別。

Dispatcher

取得建立這個可系結物件時可用的發送器,否則會嘗試尋找最接近的可用發送器(可能是視窗的/應用程式)。

(繼承來源 BindableObject)
Item[Int32]

定義資料表區段的抽象基底類別。

TextColor

定義資料表區段的抽象基底類別。

(繼承來源 TableSectionBase)
Title

取得或設定標題。

(繼承來源 TableSectionBase)

方法

Add(IEnumerable<T>)

定義資料表區段的抽象基底類別。

Add(T)

定義資料表區段的抽象基底類別。

ApplyBindings()

將所有目前的系結套用至 BindingContext

(繼承來源 BindableObject)
Clear()

定義資料表區段的抽象基底類別。

ClearValue(BindableProperty)

清除先前為可系結屬性設定的任何值。

(繼承來源 BindableObject)
ClearValue(BindablePropertyKey)

清除先前為其索引鍵所識別之可系結屬性設定的任何值。

(繼承來源 BindableObject)
CoerceValue(BindableProperty)

強制指定可系結屬性的值。 這是藉由叫用 BindableProperty.CoerceValueDelegate 指定的可系結屬性來完成。

(繼承來源 BindableObject)
CoerceValue(BindablePropertyKey)

強制指定可系結屬性的值。 這是藉由叫用 BindableProperty.CoerceValueDelegate 指定的可系結屬性來完成。

(繼承來源 BindableObject)
Contains(T)

定義資料表區段的抽象基底類別。

CopyTo(T[], Int32)

定義資料表區段的抽象基底類別。

GetEnumerator()

定義資料表區段的抽象基底類別。

GetValue(BindableProperty)

傳回指定可系結屬性中包含的值。

(繼承來源 BindableObject)
IndexOf(T)

定義資料表區段的抽象基底類別。

Insert(Int32, T)

定義資料表區段的抽象基底類別。

IsSet(BindableProperty)

判斷可系結屬性是否存在,並且已設定值。

(繼承來源 BindableObject)
OnBindingContextChanged()

定義資料表區段的抽象基底類別。

OnPropertyChanged(String)

引發 PropertyChanged 事件。

(繼承來源 BindableObject)
OnPropertyChanging(String)

引發 PropertyChanging 事件。

(繼承來源 BindableObject)
Remove(T)

定義資料表區段的抽象基底類別。

RemoveAt(Int32)

定義資料表區段的抽象基底類別。

RemoveBinding(BindableProperty)

從可系結屬性中移除先前設定的系結。

(繼承來源 BindableObject)
SetBinding(BindableProperty, BindingBase)

將系結指派給可系結屬性。

(繼承來源 BindableObject)
SetValue(BindableProperty, Object)

設定指定之可系結屬性的值。

(繼承來源 BindableObject)
SetValue(BindablePropertyKey, Object)

設定指定之可系結屬性的值。

(繼承來源 BindableObject)
UnapplyBindings()

從目前內容中移除所有目前的系結。

(繼承來源 BindableObject)

事件

BindingContextChanged

發生於 BindingContext 屬性的值變更時。

(繼承來源 BindableObject)
CollectionChanged

定義資料表區段的抽象基底類別。

PropertyChanged

當屬性值變更時發生。

(繼承來源 BindableObject)
PropertyChanging

屬性值正在變更時發生。

(繼承來源 BindableObject)

明確介面實作

ICollection<T>.IsReadOnly

定義資料表區段的抽象基底類別。

IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

定義資料表區段的抽象基底類別。

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

定義資料表區段的抽象基底類別。

IVisualTreeElement.GetVisualChildren()

定義資料表區段的抽象基底類別。

IVisualTreeElement.GetVisualParent()

定義資料表區段的抽象基底類別。

擴充方法

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

定義資料表區段的抽象基底類別。

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

定義資料表區段的抽象基底類別。

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

定義資料表區段的抽象基底類別。

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

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

SetBinding<TSource,TProperty>(BindableObject, BindableProperty, Func<TSource,TProperty>, BindingMode, IValueConverter, Object, String, Object, Object, Object)

在來源物件上的 屬性與目標物件上的屬性之間建立系結。

GetVisualElementWindow(IVisualTreeElement)

如果元素包含在其中,則取得包含可視化樹狀結構的視窗。

GetVisualTreeDescendants(IVisualTreeElement)

取得子系的整個階層,做為指定可視化樹狀結構專案的子系列表。

GetVisualTreeElements(IVisualTreeElement, Point)

根據指定的Point取得視覺化樹狀結構專案的子系列表。

GetVisualTreeElements(IVisualTreeElement, Rect)

根據矩形取得可視化樹狀結構專案子系的清單。

GetVisualTreeElements(IVisualTreeElement, Double, Double)

根據指定的 x、y 點,取得可視化樹狀結構專案子系的清單。

GetVisualTreeElements(IVisualTreeElement, Double, Double, Double, Double)

根據以平台單位而非圖元指定之座標所定義的矩形,取得可視化樹狀專案子系的清單。

適用於