TableSection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
TableView 的逻辑和可见部分。
public ref class TableSection sealed : Microsoft::Maui::Controls::TableSectionBase<Microsoft::Maui::Controls::Cell ^>
public sealed class TableSection : Microsoft.Maui.Controls.TableSectionBase<Microsoft.Maui.Controls.Cell>
type TableSection = class
inherit TableSectionBase<Cell>
Public NotInheritable Class TableSection
Inherits TableSectionBase(Of Cell)
- 继承
构造函数
TableSection() |
使用默认值创建新 TableSection。 |
TableSection(String) |
创建标题为 |
属性
BindingContext |
获取或设置一个 对象,该对象包含属于此 BindableObject的绑定属性的目标属性。 这是一种可绑定属性。 (继承自 BindableObject) |
Count |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
Dispatcher |
获取创建此可绑定对象时可用的调度程序,否则尝试查找最近的可用调度程序 (可能为窗口/应用的) 。 (继承自 BindableObject) |
Item[Int32] |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
TextColor |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase) |
Title |
获取或设置该标题。 (继承自 TableSectionBase) |
方法
事件
BindingContextChanged |
当 BindingContext 属性的值更改时发生。 (继承自 BindableObject) |
CollectionChanged |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
PropertyChanged |
在属性值更改时发生。 (继承自 BindableObject) |
PropertyChanging |
在属性值更改时发生。 (继承自 BindableObject) |
显式接口实现
ICollection<T>.IsReadOnly |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) |
TableView 的逻辑和可见部分。 (继承自 BindableObject) |
IEnumerable.GetEnumerator() |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
IVisualTreeElement.GetVisualChildren() |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
IVisualTreeElement.GetVisualParent() |
TableView 的逻辑和可见部分。 (继承自 TableSectionBase<T>) |
扩展方法
GetPropertyIfSet<T>(BindableObject, BindableProperty, T) |
TableView 的逻辑和可见部分。 |
SetAppTheme<T>(BindableObject, BindableProperty, T, T) |
TableView 的逻辑和可见部分。 |
SetAppThemeColor(BindableObject, BindableProperty, Color, Color) |
TableView 的逻辑和可见部分。 |
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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈