CreateDefaultVertexToolTip
(
String sToolTip
)
{
Debug.Assert(sToolTip != null);
AssertValid();
// Use a Label as a default tooltip.
System.Windows.Controls.Label oLabel =
new System.Windows.Controls.Label();
oLabel.Background = SystemColors.InfoBrush;
oLabel.BorderBrush = SystemColors.WindowFrameBrush;
oLabel.BorderThickness = new Thickness(1);
oLabel.Padding = new Thickness(3, 2, 3, 1);
oLabel.Content = sToolTip;
return (oLabel);
}