Share via


VisualElement Class

Definition

Controls the legacy color mode and elevation for visual elements on the Android platform.

public ref class VisualElement abstract sealed
public static class VisualElement
type VisualElement = class
Public Module VisualElement
Inheritance
VisualElement

Fields

ElevationProperty

Bindable property for attached property Elevation.

IsLegacyColorModeEnabledProperty

Bindable property for attached property IsLegacyColorModeEnabled.

Methods

GetElevation(IPlatformElementConfiguration<Android,VisualElement>)

Gets the elevation for the element.

GetElevation(VisualElement)

Gets the elevation for the element.

GetIsLegacyColorModeEnabled(BindableObject)

Gets whether or not the legacy color mode for this element is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Gets whether or not the legacy color mode for this element is enabled.

SetElevation(IPlatformElementConfiguration<Android,VisualElement>, Nullable<Single>)

Sets the elevation for the visual element.

SetElevation(VisualElement, Nullable<Single>)

Sets the elevation for the visual element.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Sets whether or not the legacy color mode for this element is enabled.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean)

Sets whether or not the legacy color mode for this element is enabled.

Applies to