ShadowText Class
This documentation is no longer available on MSDN, however it is available as a CHM download.
Represents a shadowed text label that can be added to a map.
Namespace: Microsoft.Maps.MapControl.Overlays
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)
Usage
Syntax
'Declaration
Public Class ShadowText
Inherits UserControl
public class ShadowText : UserControl
public ref class ShadowText : public UserControl
public class ShadowText extends UserControl
public class ShadowText extends UserControl
Example
<UserControl x:Class="SilverlightTest1.Page"
xmlns="https://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="https://schemas.microsoft.com/winfx/2006/xaml"
xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
xmlns:o="clr-namespace:Microsoft.Maps.MapControl.Overlays;assembly=Microsoft.Maps.MapControl">
<Grid x:Name="LayoutRoot" Background="White">
<m:Map x:Name="testMap" CredentialsProvider="Your Key" Height="600" Width="800" Mode="Aerial">
<m:Map.Children>
<o:ShadowText ForegroundTop="Black" ForegroundBottom="Orange"
Text="Hello World!" FontFamily="Verdana" FontSize="24"
HorizontalAlignment="Left" Margin="20" Width="200" />
</m:Map.Children>
</m:Map>
</Grid>
</UserControl>
Inheritance Hierarchy
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.UserControl
Microsoft.Maps.MapControl.Overlays.ShadowText
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Change History
See Also
Reference
ShadowText Members
Microsoft.Maps.MapControl.Overlays Namespace