ZIndex Property

ScatterViewItem.ZIndex Property

Surface 1.0 SP1
Gets or sets the z-index of a ScatterViewItem item when it is inside a ScatterView control.

Namespace: Microsoft.Surface.Presentation.Controls
Assembly: Microsoft.Surface.Presentation (in microsoft.surface.presentation.dll)

Dim instance As ScatterViewItem
Dim value As Integer

value = instance.ZIndex

instance.ZIndex = value

public int ZIndex { get; set; }
/** @property */
public int get_ZIndex ()

/** @property */
public void set_ZIndex (int value)

public function get ZIndex () : int

public function set ZIndex (value : int)

Property Value

Returns an integer value. ScatterViewItem controls with higher z-index values are rendered on top of those with lower z-index values.

The ZIndex property is a dependency property that is identified by the ZIndexProperty field.

You can also affect the ZIndex property indirectly by calling the SetRelativeZIndex method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Microsoft Surface 1.0 SP1, Windows Vista Ultimate, Windows Vista Enterprise, Windows Vista Business

Target Platforms

Microsoft Surface 1.0 SP1
© 2015 Microsoft