public RadioButtonWidgetViewModel(IWidget widget)
 {
     _model                = new RadioButtonModel(widget);
     _bSupportBorder       = false;
     _bSupportBackground   = false;
     _bSupportText         = true;
     _bSupportTextVerAlign = true;
     _bSupportTextHorAlign = true;
     widgetGID             = widget.Guid;
     Type = ObjectType.RadioButton;
     _bSupportGradientBackground = false;
     _bSupportGradientBorderline = false;
     _bSupportRotate             = false;
     _bSupportTextRotate         = false;
 }
Esempio n. 2
0
 override protected void IniCreateDataModel(IRegion obj)
 {
     _model = new RadioButtonModel(obj as IWidget);
 }