Skip to main content

CellAppearance Members

An object that contains a Data Grid cell’s apperance properties.

Constructors

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

Fields

Name Description
AutomationIdProperty static Bindable property for AutomationId. Inherited from Element.
BackgroundColorProperty static Identifies the BackgroundColor bindable property. Inherited from DataGridItemAppearanceBase.
BindingContextProperty static Bindable property for BindingContext. Inherited from BindableObject.
BorderColorProperty static Identifies the BorderColor bindable property. Inherited from DataGridItemAppearanceBase.
BottomBorderColorProperty static Identifies the BottomBorderColor bindable property. Inherited from CellAppearanceBase.
CheckBoxColorProperty static Identifies the CheckBoxColor bindable property.
CheckBoxPaddingProperty static Identifies the CheckBoxPadding bindable property.
CheckedCheckBoxColorProperty static Identifies the CheckedCheckBoxColor bindable property.
ClassIdProperty static Bindable property for ClassId. Inherited from Element.
FontAttributesProperty static Identifies the FontAttributes bindable property. Inherited from DataGridItemAppearanceBase.
FontColorProperty static Identifies the FontColor bindable property. Inherited from DataGridItemAppearanceBase.
FontFamilyProperty static Identifies the FontFamily bindable property. Inherited from DataGridItemAppearanceBase.
FontSizeProperty static Identifies the FontSize bindable property. Inherited from DataGridItemAppearanceBase.
HorizontalLineThicknessProperty static Identifies the HorizontalLineThickness bindable property. Inherited from CellAppearanceBase.
ImagePaddingProperty static Identifies the ImagePadding bindable property.
PaddingProperty static Identifies the Padding bindable property. Inherited from CellAppearanceBase.
SelectionColorProperty static Identifies the SelectionColor bindable property.
SelectionFontColorProperty static Identifies the SelectionFontColor bindable property.
TextDecorationsProperty static Identifies the TextDecorations bindable property. Inherited from DataGridItemAppearanceBase.

Properties

Name Description
AutomationId Gets or sets a value that allows the automation framework to find and interact with this element. Inherited from Element.
BackgroundColor Gets or sets the background color of the DataGridView items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
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.
BorderColor Gets or sets the border color of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
BottomBorderColor Gets or sets the color of the DataGridView cell’s bottom border. This is a bindable property. Inherited from CellAppearanceBase.
CheckBoxColor Gets or sets the color of the DataGridView cell’s check box. This is a bindable property.
CheckBoxPadding Gets or sets the padding of the DataGridView cell’s check box. This is a bindable property.
CheckedCheckBoxColor Gets or sets the padding of the DataGridView cell’s check box when it is checked. This is a bindable property.
ClassId Gets or sets a value used to identify a collection of semantically similar elements. Inherited from Element.
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.
EffectControlProvider For internal use by .NET MAUI. Inherited from Element.
Effects Gets or sets the styles and properties that will be applied to the element during runtime. Inherited from Element.
FontAttributes Gets or sets the font attributes of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontColor Gets or sets the font color of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontFamily Gets or sets the font family of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
FontSize Gets or sets the font size of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.
HorizontalLineThickness Gets or sets the thickness of the DataGridView cell’s horizontal line. This is a bindable property. Inherited from CellAppearanceBase.
Id Gets a value that can be used to uniquely identify an element throughout the run of your application. Inherited from Element.
ImagePadding Gets or sets the DataGridView cell’s image padding. This is a bindable property.
LogicalChildren For internal use by the Microsoft.Maui.Controls platform. Inherited from Element.
Padding Gets or sets the padding of the DataGridView cell. This is a bindable property. Inherited from CellAppearanceBase.
Parent Gets or sets the parent Element of this element. Inherited from Element.
RealParent For internal use by .NET MAUI. Inherited from Element.
SelectionColor Gets or sets the color of the DataGridView cell’s selection. This is a bindable property.
SelectionFontColor Gets or sets the font color of the DataGridView cell’s selection. This is a bindable property.
StyleId Gets or sets a user defined value to uniquely identify the element. Inherited from Element.
TextDecorations Gets or sets the text decorations of the DataGridView‘s items. This is a bindable property. Inherited from DataGridItemAppearanceBase.

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.
EffectIsAttached(String) For internal use by .NET MAUI. Inherited from Element.
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.
FindByName(String) Returns the element that has the specified name. Inherited from Element.
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.
IElementController.SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
OnBindingContextChanged() protected Invoked whenever the binding context of the element changes. Implement this method to add class handling for this event. Inherited from Element.
OnChildAdded(Element) protected Raises the ChildAdded event. Implement this method to add class handling for this event. Inherited from Element.
OnChildRemoved(Element, Int32) protected Raises the ChildRemoved event. Implement this method to add class handling for this event Inherited from Element.
OnParentSet() protected Raises the (internal) ParentSet event. Implement this method in order to add behavior when the element is added to a parent. Inherited from Element.
OnPropertyChanged(String) protected Method that is called when a bound property is changed. Inherited from Element.
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.
RemoveDynamicResource(BindableProperty) Removes a previously set dynamic resource. Inherited from Element.
SetBinding(BindableProperty, BindingBase) Assigns a binding to a bindable property. Inherited from BindableObject.
SetDynamicResource(BindableProperty, String) Sets the BindableProperty property of this element to be updated via the DynamicResource with the provided key. Inherited from Element.
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.
SetValueFromRenderer(BindableProperty, Object) For internal use by .NET MAUI. Inherited from Element.
SetValueFromRenderer(BindablePropertyKey, Object) For internal use by .NET MAUI. Inherited from Element.
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.
ChildAdded Raised whenever a child element is added to the element. Inherited from Element.
ChildRemoved Raised whenever a child element is removed from the element. Inherited from Element.
DescendantAdded Raised whenever a child element is added to the element’s subtree. Inherited from Element.
DescendantRemoved Raised whenever a child element is removed from the elements subtree. Inherited from Element.
PropertyChanged Occurs when a property value changes. Inherited from BindableObject.
PropertyChanging Occurs when a property value is changing. Inherited from BindableObject.
See Also