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>() |
构造不带空标头的 Section。 |
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) |
获取基于给定点的可视化树元素的子元素的列表。 |
GetVisualTreeElements(IVisualTreeElement, Rect) |
获取基于矩形的可视化树元素子项的列表。 |
GetVisualTreeElements(IVisualTreeElement, Double, Double) |
获取基于给定 x、y 点的可视化树元素子级的列表。 |
GetVisualTreeElements(IVisualTreeElement, Double, Double, Double, Double) |
获取基于由坐标定义的矩形(以平台单位而不是像素指定的)的可视树元素子级的列表。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈