public NotifyDefault ( bool value ) : void | ||
value | bool | true if the control should behave as a default color button; otherwise false. |
Résultat | void |
public void NotifyDefault(bool value)
{
if (!ViewDrawButton.IsFixed && (_isDefault != value))
{
// Remember new default status
_isDefault = value;
// Decide if the default overrides should be applied
_overrideNormal.Apply = value;
// Change in deault state requires a layout and repaint
PerformNeedPaint(true);
}
}