VisualElement Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
IsLegacyColorModeEnabledProperty |
Bindable property for attached property |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for