G
Guest
Hello.
I am developing a control for the CF 2.0 and I am trying to provide design
time support, using an xmta file to build the metadata assembly. I am trying
to declare the DefaultValue attribute for a property of the
System.Drawing.Color type and I was wondering what the correct syntax is.
For example, I have tried:
<Property Name="ColorfullProperty">
<DefaultValue>
<Type>System.Drawing.Color, System.Drawing, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<Value>Red</Value>
</DefaultValue>
...
</Property>
but it doesnt seem won't work. I have the same problem with many other
properties which are not of the frameworks' native types. All the native type
property declarations work just fine.
Can anyone help? I am Also looking for extensive documentation and examples
on declaring designer attributes using xmta files.
Thank you!
I am developing a control for the CF 2.0 and I am trying to provide design
time support, using an xmta file to build the metadata assembly. I am trying
to declare the DefaultValue attribute for a property of the
System.Drawing.Color type and I was wondering what the correct syntax is.
For example, I have tried:
<Property Name="ColorfullProperty">
<DefaultValue>
<Type>System.Drawing.Color, System.Drawing, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089</Type>
<Value>Red</Value>
</DefaultValue>
...
</Property>
but it doesnt seem won't work. I have the same problem with many other
properties which are not of the frameworks' native types. All the native type
property declarations work just fine.
Can anyone help? I am Also looking for extensive documentation and examples
on declaring designer attributes using xmta files.
Thank you!