6 Answers, 1 is accepted
ParentField is an internal property of PropertyGridField. You can try traversing the VisualTree to find the field that you need. Would you please what are you trying to achieve, so that we could think of some more elegant solution?
All the best,Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
To get the parent field just call field.ParentOfType<PropertyGridField>();
Now i am stuck on refreshing the PropertyGridField value, my case is when i change the value out side the PropertyGrid then i still the same old value inside the PropertyGridField. I know i should dervive from INotifyPropertyChanged interface but unfortunately i can't do that for my case.
What i need is a way to tell the properyGrid to refresh its values from the origin source.
Thanks
Akram
RadPropertyGrid relies exclusively on bindings and bindings get notified of changes via the INotifyPropertyChanged interface. There is no alternative solution. Would you please share why can't you use it?
All the best,Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
All i need is a way to tell the PropertyGridField to re read the value again from the origin source, so i can call this method after i update the value out side the propertyGrid
Thanks,
Akram
In case this class is not sealed, you can inherit from it, implement the interface on the new class and wrap the inherited properties raising the PropertyChanged event in the setters.
Greetings,Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
My project depend on this thing, i can't continue using RadPropertyGrid if this feature impossible to work,
Thanks
Akram