When I use TypeBuilder to create public properties like:
PropertyBuilder property =
typeBuilder.DefineProperty(propertyName,
PropertyAttributes.None,
pType,
null
);
These are not recognized by PivotGrid, eventhough I make them public:
MethodAttributes GetSetAttr =
MethodAttributes.Public |
MethodAttributes.HideBySig;
// Define the "get" accessor method for current private field.
MethodBuilder currGetPropMthdBldr =
typeBuilder.DefineMethod(
"get_value"
,
GetSetAttr,
pType,
Type.EmptyTypes);
For example mouse over in Visual Studio does show them as public properties, so I would expect the PivotGrid to see them as well?
Is there a way to make PivotGrid see those dynamic properties?
Regards,
Bayram