Storage for button content value information.
Inheritance: ButtonValues
Exemplo n.º 1
0
 /// <summary>
 /// Creates a values storage object appropriate for control.
 /// </summary>
 /// <returns>Set of button values.</returns>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 protected override ButtonValues CreateButtonValues(NeedPaintHandler needPaint)
 {
     // Create a version of button values with checked entries
     _checkedValues = new CheckButtonValues(needPaint);
     return(_checkedValues);
 }
 /// <summary>
 /// Creates a values storage object appropriate for control.
 /// </summary>
 /// <returns>Set of button values.</returns>
 /// <param name="needPaint">Delegate for notifying paint requests.</param>
 protected override ButtonValues CreateButtonValues(NeedPaintHandler needPaint)
 {
     // Create a version of button values with checked entries
     _checkedValues = new CheckButtonValues(needPaint);
     return _checkedValues;
 }