TableRoot 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
包含表区域或整个表的 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) |
方法
事件
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) |
获取基于由坐标定义的矩形(以平台单位而不是像素指定的)的可视树元素子级的列表。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈