ToolStripStatusLabel.BorderSides プロパティ

定義

ToolStripStatusLabel のどちらの側に境界線を表示するかを示す値を取得または設定します。

C#
public System.Windows.Forms.ToolStripStatusLabelBorderSides BorderSides { get; set; }

プロパティ値

ToolStripStatusLabelBorderSides

ToolStripStatusLabelBorderSides 値のいずれか 1 つ。 既定値は、None です。

次のコード例は、プロパティを含むさまざまな一般的な ToolStripStatusLabel プロパティの構文を BorderSides 示しています。

C#
// 
toolStripStatusLabel1.BorderSides = ((System.Windows.Forms.ToolStripStatusLabelBorderSides)((((System.Windows.Forms.ToolStripStatusLabelBorderSides.Left | System.Windows.Forms.ToolStripStatusLabelBorderSides.Top)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Right)
            | System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom)));
toolStripStatusLabel1.BorderStyle = System.Windows.Forms.Border3DStyle.Raised;
toolStripStatusLabel1.IsLink = true;
toolStripStatusLabel1.Name = "toolStripStatusLabel1";
toolStripStatusLabel1.Size = new System.Drawing.Size(246, 20);
toolStripStatusLabel1.Spring = true;
toolStripStatusLabel1.Text = "toolStripStatusLabel1";
toolStripStatusLabel1.Alignment = ToolStripItemAlignment.Left;

適用対象

製品 バージョン
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7