static EtoRadioButton() { var b = new EtoRadioButton(); b.SizeToFit(); defaultHeight = b.Frame.Height; }
public RadioButtonHandler() { Control = new EtoRadioButton { Handler = this, Title = string.Empty }; Control.SetButtonType(NSButtonType.Radio); Control.Activated += HandleActivated; }
public RadioButtonHandler() { Control = new EtoRadioButton { Handler = this }; Control.SetButtonType(NSButtonType.Radio); Control.Activated += HandleActivated; }
public RadioButtonHandler() { Control = new EtoRadioButton { TabStop = true }; Control.AutoSize = true; Control.Click += (sender, e) => Callback.OnClick(Widget, EventArgs.Empty); Control.CheckedChanged += (sender, e) => Callback.OnCheckedChanged(Widget, EventArgs.Empty); }
public RadioButtonHandler() { Control = new EtoRadioButton(); Control.AutoSize = true; Control.Click += delegate { Widget.OnClick(EventArgs.Empty); }; Control.CheckedChanged += delegate { Widget.OnCheckedChanged(EventArgs.Empty); }; }
public RadioButtonHandler() { Control = new EtoRadioButton { TabStop = true, AutoSize = true, AutoCheck = false, Checked = false }; Control.Click += Control_Click; Control.CheckedChanged += Control_CheckedChanged; }