System.Windows.Forms.ToolStripItem.Available Property

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripItem should be placed on a System.Windows.Forms.ToolStrip.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public bool Available { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The ToolStripItem.Available property is different from the ToolStripItem.Visible property in that ToolStripItem.Available indicates whether the System.Windows.Forms.ToolStripItem is shown, while ToolStripItem.Visible indicates whether the System.Windows.Forms.ToolStripItem and its parent are shown. Setting either ToolStripItem.Available or ToolStripItem.Visible to true or false sets the other property to true or false.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0