Hello,
I am getting to know the RADPropertyGrid control, it seems flexible.
I have an XML file where "Key" would be the property name and "Value" would be the value in RADPropertyGrid. Where required, I also have a value list between the "ValueList" element. My question is, how can I pass the XML so that the value list for that element is displayed as a string in a combobox in the RADPropertyGrid associated with the property?
Can you show me a sample project on how to do this?
Sample XML:
<PictureBox>
<Property>
<Key>EnableClickZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableZoom</Key>
<Value>False</Value>
</Property>
<Property>
<Key>EnableAutoPan</Key>
<Value>False</Value>
</Property>
<Property>
<Key>SizeMode</Key>
<Value>Fit</Value>
<ValueList>
<Value>Normal</Value>
<Value>Stretch</Value>
<Value>Fit</Value>
</ValueList>
</Property>
<Property>
<Key>Zoom</Key>
<Value>30</Value>
</Property>
<Property>
<Key>InterpolationMode</Key>
<Value>Default</Value>
<ValueList>
<Value>Default</Value>
<Value>Low</Value>
<Value>High</Value>
<Value>Bilinear</Value>
<Value>Bicubic</Value>
<Value>NearestNeighbor</Value>
<Value>HighQualityBilinear</Value>
<Value>HighQualityBicubic</Value>
</ValueList>
</Property>
</PictureBox>