TableSectionBase<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |
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 | |
PropertyChanged |
Occurs when a property value changes. (Inherited from BindableObject) |
PropertyChanging |
Occurs when a property value is changing. (Inherited from BindableObject) |
Explicit Interface Implementations
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for