ShapeTitleOptions.Visibility Property
Gets or sets a value indicating whether or not shape titles should be visible.
Namespace: DevExpress.XtraMap
Assembly: DevExpress.XtraMap.v18.2.dll
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 |
---|---|
MapBubble |
|
MapDot |
|
MapEllipse |
|
MapLine |
|
MapPath |
|
MapPathBase<T> |
|
MapPie |
|
MapPolygon |
|
MapPolyline |
|
MapRectangle |
|
MapShape |
|
Example
Note
A complete sample project is available at https://github.com/DevExpress-Examples/how-to-customize-shape-title-options-t202086
private void cbTitleVisibility_CheckedChanged(object sender, System.EventArgs e) {
if (cbTitleVisibility.Checked)
dot.TitleOptions.Visibility = VisibilityMode.Visible;
else
dot.TitleOptions.Visibility = VisibilityMode.Hidden;
}
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Visibility property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.