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