Panel.BorderStyle プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As Panel Dim value As BorderStyle value = instance.BorderStyle instance.BorderStyle = value
/** @property */ public BorderStyle get_BorderStyle () /** @property */ public void set_BorderStyle (BorderStyle value)
public function get BorderStyle () : BorderStyle public function set BorderStyle (value : BorderStyle)
BorderStyle 値の 1 つ。既定値は BorderStyle.None です。



3D 境界線を持つ Panel コントロールを作成するコード例を次に示します。
Public Sub CreateMyPanel() Dim panel1 As New Panel() ' Initialize the Panel control. panel1.Location = New Point(56, 72) panel1.Size = New Size(264, 152) ' Set the Borderstyle for the Panel to three-dimensional. panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D End Sub
public void CreateMyPanel() { Panel panel1 = new Panel(); // Initialize the Panel control. panel1.Location = new Point(56,72); panel1.Size = new Size(264, 152); // Set the Borderstyle for the Panel to three-dimensional. panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; }
public: void CreateMyPanel() { Panel^ panel1 = gcnew Panel; // Initialize the Panel control. panel1->Location = Point(56,72); panel1->Size = System::Drawing::Size( 264, 152 ); // Set the Borderstyle for the Panel to three-dimensional. panel1->BorderStyle = System::Windows::Forms::BorderStyle::Fixed3D; }
public void CreateMyPanel() { Panel panel1 = new Panel(); // Initialize the Panel control. panel1.set_Location(new Point(56, 72)); panel1.set_Size(new Size(264, 152)); // Set the Borderstyle for the Panel to three-dimensional. panel1.set_BorderStyle(System.Windows.Forms.BorderStyle.Fixed3D); } //CreateMyPanel

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からPanel.BorderStyle プロパティを検索する場合は、下記のリンクをクリックしてください。

- Panel.BorderStyle プロパティのページへのリンク