SplitContainer.BorderStyle SplitContainer.BorderStyle SplitContainer.BorderStyle SplitContainer.BorderStyle Property

定義

取得或設定 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.

備註

使用屬性,即可協調分隔器的框線和SplitContainer面板的外部邊緣,以及SplitContainer包含的控制項或控制項的框線。 BorderStyleUse 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.

適用於

另請參閱