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;
 }
示例#2
0
 override protected void IniCreateDataModel(IRegion obj)
 {
     _model = new TextFieldModel(obj as IWidget);
 }