MapStyleSheetEntryStates MapStyleSheetEntryStates MapStyleSheetEntryStates MapStyleSheetEntryStates Class


Provides the names of the supported style entry states of a map style sheet. These states map to state-specific styles defined in the map's style sheet.

public : static class MapStyleSheetEntryStates
static struct winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheetEntryStates
public static class MapStyleSheetEntryStates
Public Shared Class MapStyleSheetEntryStates

Windows 10 requirements

Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)


You can set the MapStyleSheetEntryState property of a MapElement to any of these states. If the map's style sheet defines a style for that state, the style is applied to the MapElement.

To learn more about entries in a map style sheet, see Map style sheet reference.


Disabled Disabled Disabled Disabled

Gets the name for the disabled visual state of the MapElement.

Hover Hover Hover Hover

Gets the name for the hover visual state of the MapElement.

Selected Selected Selected Selected

Gets the name for the selected visual state of the MapElement.