ToolStripItem.TextDirection Property

 

Gets the orientation of text used on a ToolStripItem.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

abstract TextDirection : ToolStripTextDirection with get, set
override TextDirection : ToolStripTextDirection with get, set

The following code example demonstrates how to set the Text, AutoSize, Overflow, and TextDirection properties, and handle the Click event. To run this example, paste the following code into a form that contains a ToolStrip named movingToolStrip and call InitializeMovingToolStrip in the form's constructor or Load event handler.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: