protected override void OnGotFocus (EventArgs e)
{
if (dropdown_style == ComboBoxStyle.DropDownList)
{
// We draw DDL styles manually, so they require a
// refresh to have their selection drawn
Invalidate ();
}
if (textbox_ctrl != null)
{
textbox_ctrl.Selectable = false;
textbox_ctrl.SelectText (new NSString (textbox_ctrl.StringValue));
}
base.OnGotFocus (e);
}