This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.ShowSelection Property (ArcObjects .NET 10.4 SDK) |
Indicates if selection is visible.
[Visual Basic .NET] Public Property ShowSelection As Boolean
[C#] public bool ShowSelection {get; set;}
[C++]
HRESULT get_ShowSelection(
VARIANT_BOOL* ShowRulers
);
[C++]
HRESULT put_ShowSelection(
VARIANT_BOOL ShowRulers
);
[C++]
Parameters ShowRulers [out, retval] ShowRulers is a parameter of type VARIANT_BOOL ShowRulers [in] ShowRulers is a parameter of type VARIANT_BOOL
This property is primarily used to hide a Map's element selection in layout view unless a Map has been activated.
When in layout view, the PageLayout always has its ShowSelection set to true, setting it to false has no effect. Similarly, when in data view, the focus Map always has its ShowSelection set to true and this cannot be overridden.