Share via


TableSectionBase<T> Class

Definition

Abstract base class defining a table section.

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

Type Parameters

T
Inheritance
TableSectionBase<T>
Derived
Implements

Remarks

To be added.

Constructors

TableSectionBase<T>()

Constructs a Section without an empty header.

TableSectionBase<T>(String)

Constructs a Section with the specified header.

Properties

BindingContext

Gets or sets an object that contains the properties that will be targeted by the bound properties that belong to this BindableObject. This is a bindable property.

(Inherited from BindableObject)
Count
Dispatcher

Gets the dispatcher that was available when this bindable object was created, otherwise tries to find the nearest available dispatcher (probably the window's/app's).

(Inherited from BindableObject)
Item[Int32]
TextColor (Inherited from TableSectionBase)
Title

Gets or sets the title.

(Inherited from TableSectionBase)

Methods

Add(IEnumerable<T>)
Add(T)
ApplyBindings()

Applies all the current bindings to BindingContext.

(Inherited from BindableObject)
Clear()
ClearValue(BindableProperty)

Clears any value that is previously set for a bindable property.

(Inherited from BindableObject)
ClearValue(BindablePropertyKey)

Clears any value that is previously set for a bindable property, identified by its key.

(Inherited from BindableObject)
CoerceValue(BindableProperty)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

(Inherited from BindableObject)
CoerceValue(BindablePropertyKey)

Coerces the value of the specified bindable property. This is done by invoking BindableProperty.CoerceValueDelegate of the specified bindable property.

(Inherited from BindableObject)
Contains(T)
CopyTo(T[], Int32)
GetEnumerator()
GetValue(BindableProperty)

Returns the value that is contained in the given bindable property.

(Inherited from BindableObject)
IndexOf(T)
Insert(Int32, T)
IsSet(BindableProperty)

Determines whether or not a bindable property exists and has a value set.

(Inherited from BindableObject)
OnBindingContextChanged()
OnPropertyChanged(String)

Raises the PropertyChanged event.

(Inherited from BindableObject)
OnPropertyChanging(String)

Raises the PropertyChanging event.

(Inherited from BindableObject)
Remove(T)
RemoveAt(Int32)
RemoveBinding(BindableProperty)

Removes a previously set binding from a bindable property.

(Inherited from BindableObject)
SetBinding(BindableProperty, BindingBase)

Assigns a binding to a bindable property.

(Inherited from BindableObject)
SetValue(BindableProperty, Object)

Sets the value of the specified bindable property.

(Inherited from BindableObject)
SetValue(BindablePropertyKey, Object)

Sets the value of the specified bindable property.

(Inherited from BindableObject)
UnapplyBindings()

Removes all current bindings from the current context.

(Inherited from BindableObject)

Events

BindingContextChanged

Occurs when the value of the BindingContext property changes.

(Inherited from BindableObject)
CollectionChanged
PropertyChanged

Occurs when a property value changes.

(Inherited from BindableObject)
PropertyChanging

Occurs when a property value is changing.

(Inherited from BindableObject)

Explicit Interface Implementations

ICollection<T>.IsReadOnly
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (Inherited from BindableObject)
IEnumerable.GetEnumerator()
IVisualTreeElement.GetVisualChildren()
IVisualTreeElement.GetVisualParent()

Extension Methods

GetPropertyIfSet<T>(BindableObject, BindableProperty, T)
SetAppTheme<T>(BindableObject, BindableProperty, T, T)
SetAppThemeColor(BindableObject, BindableProperty, Color, Color)
SetBinding(BindableObject, BindableProperty, String, BindingMode, IValueConverter, String)

Creates and applies a binding to a property.

SetBinding<TSource,TProperty>(BindableObject, BindableProperty, Func<TSource,TProperty>, BindingMode, IValueConverter, Object, String, Object, Object, Object)

Creates a binding between a property on the source object and a property on the target object.

GetVisualElementWindow(IVisualTreeElement)

Gets the Window containing the Visual Tree Element, if the element is contained within one.

GetVisualTreeDescendants(IVisualTreeElement)

Gets the entire hierarchy of descendants as a list of children for a given Visual Tree Element.

GetVisualTreeElements(IVisualTreeElement, Point)

Gets list of a Visual Tree Element's children based off of a given Point.

GetVisualTreeElements(IVisualTreeElement, Rect)

Gets list of a Visual Tree Elements children based off of a rectangle.

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

Gets list of a Visual Tree Elements children based off of a rectangle defined by its coordinates which are specified in platform units, not pixels.

GetVisualTreeElements(IVisualTreeElement, Double, Double)

Gets list of a Visual Tree Elements children based off of a given x, y point.

Applies to