ToolTipText WPF

Jan 7, 2010 at 1:21 PM

Hello,

How to set tooltiptext in WPF???

Heru

 

Coordinator
Jan 7, 2010 at 5:34 PM

change label text inside your visual shape control

Jan 8, 2010 at 8:14 PM
 Radioman, 
I use following code to produce marker from file:
        Dim strLat As String = strLat1.Replace(".", ",")
        Dim strLong As String = strLong1.Replace(".", ",")
        Dim myPoint As GMap.NET.PointLatLng = New GMap.NET.PointLatLng(CDec(strLat), CDec(strLong))
        Dim myMarker = New GMap.NET.WindowsPresentation.GMapMarker(myPoint)
        Dim myMemoryStream As MemoryStream = New MemoryStream
        Dim myFileStream As FileStream = New FileStream("Marker.png", FileMode.Open, FileAccess.Read)

            myMemoryStream.SetLength(myFileStream.Length)
            myFileStream.Read(myMemoryStream.GetBuffer(), 0, CInt(myFileStream.Length))
            Dim mySource As BitmapImage = New BitmapImage()
            myMemoryStream.Flush()
            myFileStream.Close()
            mySource.BeginInit()
            mySource.StreamSource = myMemoryStream
            mySource.EndInit()
            Dim myImage As New Image
            myImage.Source = mySource
            myImage.Stretch = Stretch.None
            myMarker.Offset = New System.Windows.Point(-12, -32)
            myMarker.ForceUpdateLocalPosition(GMapControl1)
            myMarker.Shape = myImage2
            myMarker.ZIndex = 1
            GMapControl1.Markers.Add(myMarker)
 
How to implement the label text ??
Gr.
Heru
Coordinator
Jan 8, 2010 at 8:19 PM

just create whatever usercontrol and use it as the shape, button, textblock, grid, anythink