Visual Basic (Declaration) | |
---|---|
Public Property MapTip As FrameworkElement |
C# | |
---|---|
public FrameworkElement MapTip {get; set;} |
You can use the binding expression to bind to the DataContext property of the Graphic.
XAML | ![]() |
---|---|
<esri:Graphic> <esri:Graphic.MapTip> <StackPanel Orientation="Horizontal" Background="White"> <TextBlock Text="Feature ID:" /> <TextBlock Text="{Binding}" /> </StackPanel> </esri:Graphic.MapTip> <esri:Graphic> |
Target Platforms:Windows Phone 7