System.Windows.Forms.DrawToolTipEventArgs.DrawText C# (CSharp) Method

DrawText() public method

public DrawText ( ) : void
return void
		public void DrawText ()
		{
			DrawText (TextFormatFlags.HidePrefix | TextFormatFlags.SingleLine | TextFormatFlags.VerticalCenter | TextFormatFlags.HorizontalCenter);
		}

Same methods

DrawToolTipEventArgs::DrawText ( TextFormatFlags flags ) : void

Usage Example

Example #1
0
 static void ToolTip2_Draw(object sender, DrawToolTipEventArgs e)
 {
     Debug.Assert(BidiHelper.IsRightToLeft, "Tooltip2 should only be ownerdraw when running RTL");
     e.DrawBackground();
     e.DrawBorder();
     e.DrawText(TextFormatFlags.PreserveGraphicsClipping | TextFormatFlags.RightToLeft | TextFormatFlags.Right);
 }
All Usage Examples Of System.Windows.Forms.DrawToolTipEventArgs::DrawText