sachin kodagali

sachin kodagali

  • NA
  • 1
  • 3.1k

Can we create a tooltip on a line control using WPF?

Mar 9 2011 11:59 PM
Here is the code i am using,

<Line Name="line1" X1="100" Y1="100" X2="280" Y2="100" ToolTip="Enter Your Name" Stroke="BlueViolet" StrokeThickness="2" VerticalAlignment="Top" ToolTipService.ShowDuration="20"/>

But i am not able to see the tooltip on hover.

a. Is it possible to display a tool tip on a line?
b. Is it possible to enter text on a line control?

Will appreciate your early response ..

Regards,
Sachin