Gets or sets a value indicating whether the legend displays the last declared layers as first legend items. By default the layers are returned in the order they are declared in the map or in the group layers. Setting this option allows to reverse the layers order returned by
LayerItemsSource and
ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItemsSource. This option doesn't impact
LayerItems nor
ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItems nor
ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LegendItems. The order of the
ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer sublayers is not impacted either.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ReverseLayersOrder As Boolean |
C# | |
---|
public bool ReverseLayersOrder {get; set;} |
Property Value
true
if
LayerItemsSource returns reversed map layer items; otherwise,
false
.
Requirements
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8
See Also