SplitContainer.BorderStyle 属性

定义

获取或设置 SplitContainer 的边框样式。Gets or sets the style of border for the SplitContainer.

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

属性值

BorderStyle 值之一。One of the BorderStyle values. 默认值为 Fixed3DThe default is Fixed3D.

异常

该属性的值并非 BorderStyle 值之一。The value of the property is not one of the BorderStyle values.

注解

使用 "BorderStyle" 属性来协调拆分器的边框和 SplitContainer 面板的外边缘与 SplitContainer 包含的控件或控件的边框。Use the BorderStyle property to coordinate the border of the splitter and the outer edges of the SplitContainer panels with the border of the control or controls that the SplitContainer contains.

适用于

另请参阅