ShapeTitleOptions.Visibility Property
Gets or sets a value indicating whether or not shape titles should be visible.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v25.1.dll
NuGet Package: DevExpress.Win.Map
Declaration
Property Value
| Type | Default | Description |
|---|---|---|
| VisibilityMode | Auto | A VisibilityMode enumeration value. |
Available values:
| Name | Description |
|---|---|
| Auto | Visibility is determined automatically. |
| Visible | An element is visible. |
| Hidden | An element is hidden. |
Property Paths
You can access this nested property as listed below:
| Object Type | Path to Visibility |
|---|---|
| MapShape |
|
Example
private void cbTitleVisibility_CheckedChanged(object sender, System.EventArgs e) {
if (cbTitleVisibility.Checked)
dot.TitleOptions.Visibility = VisibilityMode.Visible;
else
dot.TitleOptions.Visibility = VisibilityMode.Hidden;
}
See Also