ToolStripStatusLabel.BorderSides Proprietà

Definizione

Ottiene o imposta un valore che indica i lati dell'oggetto ToolStripStatusLabel che presentano un bordo.

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

Valore della proprietà

Uno dei valori di ToolStripStatusLabelBorderSides. Il valore predefinito è None.

Esempio

Nell'esempio di codice seguente viene illustrata la sintassi per varie ToolStripStatusLabel proprietà comuni, inclusa la BorderSides proprietà .

// 
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;
' 
toolStripStatusLabel1.BorderSides = CType(System.Windows.Forms.ToolStripStatusLabelBorderSides.Left Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Top Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Right Or System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom, System.Windows.Forms.ToolStripStatusLabelBorderSides)
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

Si applica a