Skip to main content

ShapeTitleOptions.Visible Property


The ShapeTitleOptions.Visible property is obsolete now. Use the VisibilityMode property instead.

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

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll


[Obsolete("The ShapeTitleOptions.Visible property is obsolete now. Use the ShapeTitleOptions.VisibilityMode property instead.")]
[PreferableMember("ShapeTitleOptions", "VisibilityMode", "VisibilityMode")]
public bool Visible { get; set; }

Property Value

Type Description

true to display a shape title; otherwise, false.

Property Paths

You can access this nested property as listed below:


The following example demonstrates how to customize the map shape title.

To customize a title, do the following.

View Example

<dxm:ShapeTitleOptions x:Key="titleOptions" 
                       Pattern="{}{Name}" Visible="True">
            <TextBlock Text="{Binding Text}"
                       Foreground="Blue" Margin="0,0,0,20"/>
                    <dxm:MapDot Location="51.507222, -0.1275" Size="10" Fill="Red" 
                                TitleOptions="{StaticResource titleOptions}">
                            <dxm:MapItemAttribute Name="Name" Value="London"/>
See Also