/// <summary> /// Format /// </summary> /// <param name="control"></param> /// <param name="properties"></param> static void BuildTextPropertyFromFormat(MgControlBase control, Dictionary <string, DesignerPropertyInfo> properties) { if (control.getField() == null && !control.expressionSetAsData() || control.IsImageButton()) { BuildTextProperty(control, properties, PropInterface.PROP_TYPE_FORMAT); } else { properties.Add(Constants.WinPropText, new DesignerPropertyInfo() { VisibleInPropertyGrid = true, Value = control.Value, IsDefaultValue = false }); } }