TableSection Class

Definition

A logical and visible section of a 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)
Inheritance

Constructors

TableSection()

Creates a new TableSection with default values.

TableSection(String)

Creates a new TableSection with the title title.

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 (Inherited from TableSectionBase<T>)
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] (Inherited from TableSectionBase<T>)
TextColor (Inherited from TableSectionBase)
Title

Gets or sets the title.

(Inherited from TableSectionBase)

Methods

Add(IEnumerable<T>) (Inherited from TableSectionBase<T>)
Add(T) (Inherited from TableSectionBase<T>)
ApplyBindings()

Applies all the current bindings to BindingContext.

(Inherited from BindableObject)
Clear() (Inherited from TableSectionBase<T>)
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) (Inherited from TableSectionBase<T>)
CopyTo(T[], Int32) (Inherited from TableSectionBase<T>)
GetEnumerator() (Inherited from TableSectionBase<T>)
GetValue(BindableProperty)

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

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

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

(Inherited from BindableObject)
OnBindingContextChanged() (Inherited from TableSectionBase<T>)
OnPropertyChanged(String)

Raises the PropertyChanged event.

(Inherited from BindableObject)
OnPropertyChanging(String)

Raises the PropertyChanging event.

(Inherited from BindableObject)
Remove(T) (Inherited from TableSectionBase<T>)
RemoveAt(Int32) (Inherited from TableSectionBase<T>)
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)
SetValueCore(BindableProperty, Object, SetValueFlags)

For internal use by the Microsoft.Maui.Controls platform.

(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 (Inherited from TableSectionBase<T>)
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 (Inherited from TableSectionBase<T>)
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String) (Inherited from BindableObject)
IEnumerable.GetEnumerator() (Inherited from TableSectionBase<T>)
IVisualTreeElement.GetVisualChildren() (Inherited from TableSectionBase<T>)
IVisualTreeElement.GetVisualParent() (Inherited from TableSectionBase<T>)

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.

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)

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

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.

Applies to