A newer version of this page is available. Switch to the current version.

ShapeTitleOptions Class

Contains options that define the appearance and behavior of shape titles.

Namespace: DevExpress.Xpf.Map

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


public class ShapeTitleOptions :
Public Class ShapeTitleOptions
    Inherits MapDependencyObject

Related API Members

The following members accept/return ShapeTitleOptions objects:


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

To customize a title, do the following.

<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