for(int k=0;k<Config.Lines[i].Config.Stations[j].Config.Backward.Count;k++){
_drawing.Children.Add(new Ellipse
{ ToolTip = "Add your tooltip text here",
Stroke = Brushes.Black,
StrokeThickness = .6,
Width = 3,
Height = 3,
Margin = new Thickness(Config.Lines[i].Config.Stations[j].Config.Coordinate.Item1, Config.Lines[i].Config.Stations[j].Config.Coordinate.Item2+PlatformGap*(-k), 0, 0)
});
}
How do I put this textblock inside a tooltip? The purpose is to view this textblock only on mouse hover. Please suggest any other method also if you find one.