public CheckBoxWidgetViewModel(IWidget widget) { _model = new CheckBoxModel(widget); _bSupportBorder = false; _bSupportBackground = false; _bSupportText = true; _bSupportTextVerAlign = true; _bSupportTextHorAlign = true; widgetGID = widget.Guid; Type = ObjectType.Checkbox; _bSupportGradientBackground = false; _bSupportGradientBorderline = false; _bSupportRotate = false; _bSupportTextRotate = false; }
override protected void IniCreateDataModel(IRegion obj) { _model = new CheckBoxModel(obj as IWidget); }