Visual Basic (Declaration) | |
---|---|
Public Property VisibleLayers As IEnumerable(Of String) |
C# | |
---|---|
public IEnumerable<string> VisibleLayers {get; set;} |
Property Value
The visible layers enumeration.The wildcard "*" allows to set all descendant layers as visible.
For examples:
- VisibleLayers="*" sets all sublayers as visible
- VisibleLayers="folder/*" set all sublayers under 'folder' as visible
- VisibleLayers="folder,folder/*" sets 'folder' and all its sublayers as visible
Note that this list is a configuration property and doesn't return the sublayers that are currently visible. To know whether a sublayer is currently visible, you have to go through the layers hierarchy and get the current visibility of the layer.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family