ToolStripItem.TextImageRelation ToolStripItem.TextImageRelation ToolStripItem.TextImageRelation ToolStripItem.TextImageRelation Property

定义

获取或设置 ToolStripItem 文本和图像相对于彼此的位置。Gets or sets the position of ToolStripItem text and image relative to each other.

public:
 property System::Windows::Forms::TextImageRelation TextImageRelation { System::Windows::Forms::TextImageRelation get(); void set(System::Windows::Forms::TextImageRelation value); };
public System.Windows.Forms.TextImageRelation TextImageRelation { get; set; }
member this.TextImageRelation : System.Windows.Forms.TextImageRelation with get, set
Public Property TextImageRelation As TextImageRelation

属性值

注解

使用属性来定义或确定图像相对于ToolStripItem上的文本的相对位置。 TextImageRelationUse the TextImageRelation property to define or determine the relative placement of the image with respect to the text on a ToolStripItem. 缺少图像、文本或二者的项被视为特殊情况, 因此ToolStripItem , 不会为缺少的元素显示空白点。Items that lack an image, text, or both are treated as special cases so that the ToolStripItem does not display a blank spot for the missing element or elements.

适用于