TableSectionBase<T> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義資料表區段的抽象基底類別。
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>(String) |
建構具有指定標頭的 Section。 |
屬性
BindingContext |
取得或設定 對象,這個物件包含系結屬性所屬之系結屬性的目標屬性 BindableObject。 這是可繫結屬性。 (繼承來源 BindableObject) |
Count |
定義資料表區段的抽象基底類別。 |
Dispatcher |
取得建立這個可系結物件時可用的發送器,否則會嘗試尋找最接近的可用發送器, (可能是視窗/應用程式的) 。 (繼承來源 BindableObject) |
Item[Int32] |
定義資料表區段的抽象基底類別。 |
TextColor |
定義資料表區段的抽象基底類別。 (繼承來源 TableSectionBase) |
Title |
取得或設定標題。 (繼承來源 TableSectionBase) |
方法
事件
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) |
建立並將繫結套用至屬性。 |
GetVisualElementWindow(IVisualTreeElement) |
如果元素包含在其中,則取得包含可視化樹狀結構項目的視窗。 |
GetVisualTreeDescendants(IVisualTreeElement) |
取得子系的整個階層,做為指定可視化樹狀結構元素的子系列表。 |
GetVisualTreeElements(IVisualTreeElement, Point) |
根據指定的Point,取得可視化樹狀結構專案的子系列表。 |
GetVisualTreeElements(IVisualTreeElement, Rect) |
根據矩形取得可視化樹狀結構元素子系的清單。 |
GetVisualTreeElements(IVisualTreeElement, Double, Double) |
根據指定的 x、y 點,取得可視化樹狀結構元素子系的清單。 |
GetVisualTreeElements(IVisualTreeElement, Double, Double, Double, Double) |
根據其座標所定義的矩形,取得可視化樹狀結構元素子系的清單,該矩形是以平台單位指定,而不是圖元。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應