VisualElement Class

Definition

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

public static class VisualElement
type VisualElement = class
Inheritance
VisualElement

Fields

ElevationProperty

Backing store for the elevation property for visual elements on the Android platform.

IsLegacyColorModeEnabledProperty

Backing store for the attached property that controls whether the legacy color mode is enabled.

Methods

GetElevation(IPlatformElementConfiguration<Android,VisualElement>)

Gets the elevation for the element.

GetElevation(VisualElement)

Gets the elevation for the element.

GetIsLegacyColorModeEnabled(BindableObject)

Gets a Boolean value that tells whether the legacy color mode is enabled.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>)

Gets a Boolean value that tells whether the legacy color mode 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 a Boolean value that controls whether the legacy color mode is enabled.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean)

Sets a Boolean value that controls whether the legacy color mode is enabled.

Applies to