MapStyleSheetEntryStates 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.
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 ref class MapStyleSheetEntryStates abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class MapStyleSheetEntryStates final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class MapStyleSheetEntryStates
Public Class MapStyleSheetEntryStates
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Remarks
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.
Properties
Disabled |
Gets the name for the disabled visual state of the MapElement. |
Hover |
Gets the name for the hover visual state of the MapElement. |
Selected |
Gets the name for the selected visual state of the MapElement. |