TableSectionBase<T> 类

定义

定义表部分的抽象基类。

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>()

构造不带空标头的 Section。

TableSectionBase<T>(String)

构造具有指定标头的 Section。

属性

BindingContext

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

(继承自 BindableObject)
Count

定义表部分的抽象基类。

Dispatcher

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

(继承自 BindableObject)
Item[Int32]

定义表部分的抽象基类。

TextColor

定义表部分的抽象基类。

(继承自 TableSectionBase)
Title

获取或设置该标题。

(继承自 TableSectionBase)

方法

Add(IEnumerable<T>)

定义表部分的抽象基类。

Add(T)

定义表部分的抽象基类。

ApplyBindings()

将所有当前绑定应用于 BindingContext

(继承自 BindableObject)
Clear()

定义表部分的抽象基类。

ClearValue(BindableProperty)

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

(继承自 BindableObject)
ClearValue(BindablePropertyKey)

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

(继承自 BindableObject)
CoerceValue(BindableProperty)

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

(继承自 BindableObject)
CoerceValue(BindablePropertyKey)

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

(继承自 BindableObject)
Contains(T)

定义表部分的抽象基类。

CopyTo(T[], Int32)

定义表部分的抽象基类。

GetEnumerator()

定义表部分的抽象基类。

GetValue(BindableProperty)

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

(继承自 BindableObject)
IndexOf(T)

定义表部分的抽象基类。

Insert(Int32, T)

定义表部分的抽象基类。

IsSet(BindableProperty)

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

(继承自 BindableObject)
OnBindingContextChanged()

定义表部分的抽象基类。

OnPropertyChanged(String)

引发 PropertyChanged 事件。

(继承自 BindableObject)
OnPropertyChanging(String)

引发 PropertyChanging 事件。

(继承自 BindableObject)
Remove(T)

定义表部分的抽象基类。

RemoveAt(Int32)

定义表部分的抽象基类。

RemoveBinding(BindableProperty)

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

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

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

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

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

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

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

(继承自 BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

供 Microsoft.Maui.Controls 平台内部使用。

(继承自 BindableObject)
UnapplyBindings()

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

(继承自 BindableObject)

事件

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)

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

适用于