ToolStrip.GripStyle 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置移动句柄是 ToolStrip 可见还是隐藏。
public:
property System::Windows::Forms::ToolStripGripStyle GripStyle { System::Windows::Forms::ToolStripGripStyle get(); void set(System::Windows::Forms::ToolStripGripStyle value); };
public System.Windows.Forms.ToolStripGripStyle GripStyle { get; set; }
member this.GripStyle : System.Windows.Forms.ToolStripGripStyle with get, set
Public Property GripStyle As ToolStripGripStyle
属性值
其中一个 ToolStripGripStyle 值。 默认值为 Visible。
例外
指定的值不是其中 ToolStripGripStyle 一个值。
注解
在堆栈布局中,通过将它置于一个ToolStripToolStripPanel并确保其GripStyle设置为该Visible布局来使其可移动。