An unhandled exception ... see the attached picture please.
I am just trying to set PropertyBuilderGrid.Item to the LayoutItem. (DevExpress.Xpf.LayoutControl namespace...)
How can I solve it?
Thank you very much.
Tomas
4 Answers, 1 is accepted
Will it be possible to provide a bit more information about your exact scenario ? When do you set the Item property of the property rid, could you reproduce the same exception with another control (different than LayoutItem), is there anything more specific that you do ?
Generally, any relevant information, code-snippet or best - sample project will be of great help for reproducing the case and providing a solution.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
Control definition (nothing special):
<telerik:RadPropertyGrid x:Name="PropertyBuilderControl"/>
There is nothing special about asigning of that object to propertyBuilderControl:
public void SetSelectedControl(object o){
this.PropertyBuilderControl.Item = o;
}
thank you Tom
I have tried to reproduce the exception, but without any success. Could you take a look at the sample attached and let me know whether I am missing anything ? What else should I do to get the same behavior ? Which version of RadControls are you working with ?
Thanks a lot for your cooperation.
Maya
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
I am sorry I have wasted your time...
Now it is working.
Tomas