ComponentFactory.Krypton.Toolkit.ButtonValues.ResetText C# (CSharp) Method

ResetText() public method

Resets the Text property to its default value.
public ResetText ( ) : void
return void
        public void ResetText()
        {
            Text = _defaultText;
        }

Usage Example

Beispiel #1
0
 /// <summary>
 /// Resets the Text property to its default value.
 /// </summary>
 public override void ResetText()
 {
     // Map onto the button property from the values
     _buttonValues.ResetText();
 }