ButtonTracker.IsDisabled(Button) - YiZhang-Paul/Mock_Up_Calculator GitHub Wiki

Namespace: UtilityClassLibrary

Description: Checks if specified button control is disabled.

Parameters Description
button<Button> button control to be examined
Returns Description
bool true when button is disabled

Examples:

var tracker = new ButtonTracker();
var enabledButton = new Button();
var disabledButton = new Button();

tracker.Enable(enabledButton);
tracker.Disable(disabledButton);

Console.WriteLine(tracker.IsDisabled(enabledButton));  //false
Console.WriteLine(tracker.IsDisabled(disabledButton)); //true
⚠️ **GitHub.com Fallback** ⚠️