TableRoot 类

定义

包含表区域或整个表的 TableSection

public ref class TableRoot sealed : Microsoft::Maui::Controls::TableSectionBase<Microsoft::Maui::Controls::TableSection ^>
public sealed class TableRoot : Microsoft.Maui.Controls.TableSectionBase<Microsoft.Maui.Controls.TableSection>
type TableRoot = class
    inherit TableSectionBase<TableSection>
Public NotInheritable Class TableRoot
Inherits TableSectionBase(Of TableSection)
继承

构造函数

TableRoot()

构造并初始化 TableRoot 类的新实例。

TableRoot(String)

使用标题来构造并初始化 TableRoot 类的新实例。

属性

BindingContext

获取或设置一个 对象,该对象包含将由属于此 BindableObject的绑定属性所面向的属性。 这是一种可绑定属性。

(继承自 BindableObject)
Count

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
Dispatcher

获取创建此可绑定对象时可用的调度程序,否则会尝试查找最接近的可用调度程序 (可能是窗口/应用的) 。

(继承自 BindableObject)
Item[Int32]

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
TextColor

包含表区域或整个表的 TableSection

(继承自 TableSectionBase)
Title

获取或设置该标题。

(继承自 TableSectionBase)

方法

Add(IEnumerable<T>)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
Add(T)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
ApplyBindings()

将所有当前绑定应用于 BindingContext

(继承自 BindableObject)
Clear()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
ClearValue(BindableProperty)

清除以前为可绑定属性设置的任何值。

(继承自 BindableObject)
ClearValue(BindablePropertyKey)

清除以前为其键标识的可绑定属性设置的任何值。

(继承自 BindableObject)
CoerceValue(BindableProperty)

强制指定可绑定属性的值。 这是通过调用 BindableProperty.CoerceValueDelegate 指定的可绑定属性来完成的。

(继承自 BindableObject)
CoerceValue(BindablePropertyKey)

强制指定可绑定属性的值。 这是通过调用 BindableProperty.CoerceValueDelegate 指定的可绑定属性来完成的。

(继承自 BindableObject)
Contains(T)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
CopyTo(T[], Int32)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
GetEnumerator()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
GetValue(BindableProperty)

返回给定的可绑定属性中包含的值。

(继承自 BindableObject)
IndexOf(T)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
Insert(Int32, T)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
IsSet(BindableProperty)

确定是否存在可绑定属性以及是否设置了值。

(继承自 BindableObject)
OnBindingContextChanged()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
OnPropertyChanged(String)

引发 PropertyChanged 事件。

(继承自 BindableObject)
OnPropertyChanging(String)

引发 PropertyChanging 事件。

(继承自 BindableObject)
Remove(T)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
RemoveAt(Int32)

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
RemoveBinding(BindableProperty)

从可绑定属性中删除以前设置的绑定。

(继承自 BindableObject)
SetBinding(BindableProperty, BindingBase)

将绑定分配给可绑定属性。

(继承自 BindableObject)
SetValue(BindableProperty, Object)

设置指定的可绑定属性的值。

(继承自 BindableObject)
SetValue(BindablePropertyKey, Object)

设置指定的可绑定属性的值。

(继承自 BindableObject)
UnapplyBindings()

从当前上下文中删除所有当前绑定。

(继承自 BindableObject)

事件

BindingContextChanged

BindingContext 属性的值更改时发生。

(继承自 BindableObject)
CollectionChanged

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
PropertyChanged

在属性值更改时发生。

(继承自 BindableObject)
PropertyChanging

在属性值更改时发生。

(继承自 BindableObject)

显式接口实现

ICollection<T>.IsReadOnly

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

包含表区域或整个表的 TableSection

(继承自 BindableObject)
IEnumerable.GetEnumerator()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
IVisualTreeElement.GetVisualChildren()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)
IVisualTreeElement.GetVisualParent()

包含表区域或整个表的 TableSection

(继承自 TableSectionBase<T>)

扩展方法

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)

包含表区域或整个表的 TableSection

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

包含表区域或整个表的 TableSection

SetAppThemeColor(BindableObject, BindableProperty, Color, Color)

包含表区域或整个表的 TableSection

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

创建绑定并将其应用到属性。

GetVisualElementWindow(IVisualTreeElement)

如果元素包含在一个元素中,则获取包含可视化树元素的窗口。

GetVisualTreeDescendants(IVisualTreeElement)

获取子代的整个层次结构,作为给定可视树元素的子级列表。

GetVisualTreeElements(IVisualTreeElement, Point)

获取基于给定点的可视化树元素的子元素的列表。

GetVisualTreeElements(IVisualTreeElement, Rect)

获取基于矩形的可视化树元素子项的列表。

GetVisualTreeElements(IVisualTreeElement, Double, Double)

获取基于给定 x、y 点的可视化树元素子级的列表。

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

获取基于由坐标定义的矩形(以平台单位而不是像素指定的)的可视树元素子级的列表。

适用于