Skip to main content
A newer version of this page is available. .

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

[DefaultValue(VisibilityMode.Auto)]
public VisibilityMode Visibility { get; set; }

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:

Show 11 property paths
Object Type Path to Visibility
MapBubble
.TitleOptions.Visibility
MapDot
.TitleOptions.Visibility
MapEllipse
.TitleOptions.Visibility
MapLine
.TitleOptions.Visibility
MapPath
.TitleOptions.Visibility
MapPathBase<T>
.TitleOptions.Visibility
MapPie
.TitleOptions.Visibility
MapPolygon
.TitleOptions.Visibility
MapPolyline
.TitleOptions.Visibility
MapRectangle
.TitleOptions.Visibility
MapShape
.TitleOptions.Visibility

Example

private void cbTitleVisibility_CheckedChanged(object sender, System.EventArgs e) {
    if (cbTitleVisibility.Checked)
        dot.TitleOptions.Visibility = VisibilityMode.Visible;
    else
        dot.TitleOptions.Visibility = VisibilityMode.Hidden;
}

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.

See Also