Ejemplo n.º 1
0
 public override void CustomizeTypesInfo(DevExpress.ExpressApp.DC.ITypesInfo typesInfo)
 {
     base.CustomizeTypesInfo(typesInfo);
     typesInfo.FindTypeInfo(typeof(ImageSourceBrowserBase)).AddAttribute(new HintAttribute("", ViewType.Any, "Hint"));
     DevExpress.ExpressApp.DC.IMemberInfo hintMember = typesInfo.FindTypeInfo(typeof(ImageSourceBrowserBase)).CreateMember("Hint", typeof(string));
     hintMember.AddAttribute(new SizeAttribute(1024));
 }
 protected override void AddFieldCore(string caption, string bindingPropertyName, DevExpress.ExpressApp.DC.IMemberInfo propertyDescriptor)
 {
     base.AddFieldCore(caption, bindingPropertyName, propertyDescriptor);
     Owner.Fields[bindingPropertyName].AreaIndex = -1;
 }