Environment Element

Tracks the state of the current host.

Syntax

<Environment
    ColorScheme="{Default | HighContrast1 | HighContrast2}"
    DebugOutlines="DebugOutlines element"
    IsNavigating="{true | false}"
    IsRightToLeft="{true | false}"
    IsWidescreen="{true | false}"
    NavigationDirection="{Backward | Forward}"
/>

Attributes

ColorScheme

Indicates a member of the ColorScheme enumeration that determines current active color scheme. This value is read-only.

DebugOutlines

Indicates a reference to a DebugOutlines element from which to use the configuration. This value is read-only.

IsNavigating

Indicates whether a page navigation is in progress. This value is read-only.

IsRightToLeft

Determines whether the system is right-to-left (RTL) reading order. This value is read-only.

IsWidescreen

Indicates whether Windows Media Center is in widescreen mode. This value is read-only.

NavigationDirection

A member of the NavigationDirection enumeration that indicates the direction of the most recent page navigation. This value is read-only.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also