संपादित करें

इसके माध्यम से साझा किया गया


ToolBarButton.Enabled Property

Definition

Gets or sets a value indicating whether the button is enabled.

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true if the button is enabled; otherwise, false. The default is true.

Remarks

When the Enabled property is set to false, the toolbar button cannot be clicked, and the button's appearance changes. The Image and Text assigned to the button appear grayed out. If the image or text has multiple colors, they display in a monochromatic gray.

Applies to