Back to Devexpress

MapOverlayTextItem.Text Property

windowsforms-devexpress-dot-xtramap-dot-mapoverlaytextitem-3f34ca6d.md

latest2.7 KB
Original Source

MapOverlayTextItem.Text Property

Gets or sets the text that the overlay text item displays.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue("")]
public string Text { get; set; }
vb
<DefaultValue("")>
Public Property Text As String

Property Value

TypeDefaultDescription
StringString.Empty

The text that the overlay text item displays.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Text 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.

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.cs#L86

csharp
if(Interactivity.IsDrillDownEnabled) {
    validationInfoItem.Text = "Waypoint Map Item does not support Drill-Down";
    validationInfoItem.Visible = true;

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/WaypointMap/WaypointMapItemControlProvider.vb#L103

vb
If Interactivity.IsDrillDownEnabled Then
    validationInfoItem.Text = "Waypoint Map Item does not support Drill-Down"
    validationInfoItem.Visible = True

See Also

MapOverlayTextItem Class

MapOverlayTextItem Members

DevExpress.XtraMap Namespace