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 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