Exemple #1
0
 public UIButton(string label, Rectangle frame, UIButtonStyle styles, OnPressDelegate onPress)
 {
     this.label   = label;
     this.frame   = frame;
     this.styles  = styles;
     this.onPress = onPress;
 }
Exemple #2
0
 public UIButton(string label, Rectangle frame, UIButtonStyle styles, OnPressDelegate onPress, List <OnPressDelegate> onPressActions = null)
 {
     this.label          = label;
     this.frame          = frame;
     this.styles         = styles;
     this.onPress        = onPress;
     this.onPressActions = onPressActions;
 }
Exemple #3
0
 public UIRadioButton(string label, T value, UIRadioButtonGroup <T> group, Rectangle frame, UIButtonStyle styles, UIButtonAppearance activeAppearance, OnRadioPressDelegate onRadioPress) :
     base(label, frame, styles, null)
 {
     this.group            = group;
     this.value            = value;
     this.activeAppearance = activeAppearance;
     this.onRadioPress     = onRadioPress;
 }