Skip to main content

ShapeTitleOptions.Visibility Property

Gets or sets a value indicating whether or not shape titles should be visible.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

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:

Object Type Path to 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;
}
See Also