Skip to main content

ColorDataAdapter Members

Retrieves point colors and their legend item descriptions from data source fields.

Constructors

Name Description
ColorDataAdapter() Initializes a new instance of the ColorDataAdapter class.

Fields

Name Description
AllowLiveDataUpdatesProperty static Identifies the AllowLiveDataUpdates bindable property. Inherited from DataSourceAdapterBase.
BindingContextProperty static Bindable property for BindingContext. Inherited from BindableObject.
ColorDataMemberProperty static Identifies the ColorDataMember bindable property.
DataSourceProperty static Identifies the DataSource bindable property. Inherited from DataSourceAdapterBase.
LegendTextDataMemberProperty static Identifies the LegendTextDataMember bindable property.

Properties

Name Description
AllowLiveDataUpdates Gets or sets whether the chart view refreshes itself if the data source notifies the control of value changes. Once data point values change, the Chart View re-renders series and axes. This functionality is available for data source objects that implement the INotifyPropertyChanged interface. This is a bindable property. Inherited from DataSourceAdapterBase.
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.
ColorDataMember Gets or sets the name of the data source field that contains point colors. This is a bindable property.
DataSource Gets or sets the data source for the chart. This is a bindable property. Inherited from DataSourceAdapterBase.
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.
LegendTextDataMember Gets or sets the name of the data source field that contains descriptions used as legend items. This is a bindable property.

Methods

Name Description
ApplyBindings() protected Applies all the current bindings to BindingContext. Inherited from BindableObject.
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.
Dispose() Disposes of the DataSourceAdapterBase object. Inherited from DataSourceAdapterBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValue(BindableProperty) Returns the value that is contained in the given bindable property. Inherited from BindableObject.
IsSet(BindableProperty) Determines whether or not a bindable property exists and has a value set. Inherited from BindableObject.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnBindingContextChanged() protected Raises the BindingContextChanged event. Inherited from BindableObject.
OnPropertyChanged(String) protected Raises the PropertyChanged event. Inherited from BindableObject.
OnPropertyChanging(String) protected Raises the PropertyChanging event. Inherited from BindableObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
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.
SetInheritedBindingContext(BindableObject, Object) static Sets the inherited context to a nested element. 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.
ToString() Returns a string that represents the current object. Inherited from Object.
UnapplyBindings() protected Removes all current bindings from the current context. Inherited from BindableObject.

Events

Name Description
BindingContextChanged Occurs when the value of the BindingContext property changes. Inherited from BindableObject.
PropertyChanged Occurs when a property value changes. Inherited from BindableObject.
PropertyChanging Occurs when a property value is changing. Inherited from BindableObject.
See Also