TableSection Class

Definition

A logical and visible section of a TableView.

public sealed class TableSection : Xamarin.Forms.TableSectionBase<Xamarin.Forms.Cell>
type TableSection = class
    inherit TableSectionBase<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 object that contains the properties that will be targeted by the bound properties that belong to this BindableObject.

(Inherited from BindableObject)
Count

Gets the number of items in this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
Dispatcher (Inherited from BindableObject)
Item[Int32]

Returns the item that is stored at the location in this TableSectionBase<T> object that is specified by index.

(Inherited from TableSectionBase<T>)
TextColor (Inherited from TableSectionBase)
Title

Gets or sets the title.

(Inherited from TableSectionBase)

Methods

Add(IEnumerable<T>)

Adds a list of items to this TableSectionBase<T> object.

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

Adds an item to this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
ApplyBindings()

Apply the bindings to BindingContext.

(Inherited from BindableObject)
Clear()

Removes all items in this TableSectionBase<T>.

(Inherited from TableSectionBase<T>)
ClearValue(BindableProperty)

Clears any value set by SetValue for property.

(Inherited from BindableObject)
ClearValue(BindablePropertyKey)

Clears any value set by SetValue for the property that is identified by propertyKey.

(Inherited from BindableObject)
CoerceValue(BindableProperty) (Inherited from BindableObject)
CoerceValue(BindablePropertyKey) (Inherited from BindableObject)
Contains(T)

Returns a Boolean value that indicates whether or not this TableSectionBase<T> has a reference to a particular object.

(Inherited from TableSectionBase<T>)
CopyTo(T[], Int32)

Copies the elements of the current collection to an System.Array, starting at the specified index.

(Inherited from TableSectionBase<T>)
GetEnumerator()

Returns an enumerator that iterates through the items in this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
GetValue(BindableProperty)

Returns the value that is contained in the BindableProperty.

(Inherited from BindableObject)
GetValues(BindableProperty, BindableProperty, BindableProperty)
Obsolete.

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
GetValues(BindableProperty, BindableProperty)
Obsolete.

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
IndexOf(T)

Returns the index of the first occurrence of item in this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
Insert(Int32, T)

Inserts an item into this TableSectionBase<T> object at the specified position.

(Inherited from TableSectionBase<T>)
IsSet(BindableProperty)

Returns true if the target property exists and has been set.

(Inherited from BindableObject)
OnBindingContextChanged()

Calls the SetInheritedBindingContext(BindableObject, Object) method, passing the new binding context, on each of the items in this TableSectionBase<T> object.

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

Call this method from a child class to notify that a change happened on a property.

(Inherited from BindableObject)
OnPropertyChanging(String)

Call this method from a child class to notify that a change is going to happen on a property.

(Inherited from BindableObject)
Remove(T)

Removes a specified item from this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
RemoveAt(Int32)

Removes a specified item from this TableSectionBase<T> object at the position that is specified by index.

(Inherited from TableSectionBase<T>)
RemoveBinding(BindableProperty)

Removes a previously set binding.

(Inherited from BindableObject)
SetBinding(BindableProperty, BindingBase)

Assigns a binding to a property.

(Inherited from BindableObject)
SetValue(BindableProperty, Object)

Sets the value of the specified property.

(Inherited from BindableObject)
SetValue(BindablePropertyKey, Object)

Sets the value of the propertyKey.

(Inherited from BindableObject)
SetValueCore(BindableProperty, Object, SetValueFlags)

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
UnapplyBindings()

Unapplies all previously set bindings.

(Inherited from BindableObject)

Events

BindingContextChanged

Raised whenever the BindingContext property changes.

(Inherited from BindableObject)
CollectionChanged

Event that is raised when one or more items is added to or removed from this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)
PropertyChanged

Raised when a property has changed.

(Inherited from BindableObject)
PropertyChanging

Raised when a property is about to change.

(Inherited from BindableObject)

Explicit Interface Implementations

ICollection<T>.IsReadOnly

Returns false; The collection of objects in this can be changed.

(Inherited from TableSectionBase<T>)
IDynamicResourceHandler.SetDynamicResource(BindableProperty, String)

For internal use by the Xamarin.Forms platform.

(Inherited from BindableObject)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection of objects in this TableSectionBase<T> object.

(Inherited from TableSectionBase<T>)

Extension Methods

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

Creates and applies a binding to a property.

SetBinding<TSource>(BindableObject, BindableProperty, Expression<Func<TSource,Object>>, BindingMode, IValueConverter, String)
Obsolete.

Creates and applies a binding from an expression.

SetOnAppTheme<T>(BindableObject, BindableProperty, T, T)
ForEach<T>(IEnumerable<T>, Action<T>)

For internal use by the Xamarin.Forms platform.

GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

Prepend<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

Applies to