I'm looking for a way for an autogenerated propertygrid checkbox item to disable (IsReadOnly/ReadOnlyEditorState) other items in the grid.
Is there an event or a isSelected for the generated checkbox available somehow?
Thank you,
Garrick
3 Answers, 1 is accepted
0
Maya
Telerik team
answered on 30 Jul 2015, 12:23 PM
Hello Garrick,
You can verify what the value of the underlying property is and once it has changed, to update the other elements. For example, if the property definition is bound to IsActive property, at the moment this property is changed and the code passes through its setter, you will be able to modify the other elements.
Will that be an appropriate approach for your scenario ?
Regards,
Maya
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items
1. When using an auto generated grid, I am unable to use the IsReadOnly and ReadOnlyEditorState. It only applies to the whole grid. Is there a way to use it on specific items?
2. I wanted to know if there was a way to add Events similar to adding properties in the xaml code. At the moment I created my own event through the setter, just wanted to know my options.
Thank you,
Garrick
0
Maya
Telerik team
answered on 03 Aug 2015, 08:11 AM
Hello Garrick,
You can try binding IsReadOnly property of the PropertyDefinition. More info can be found in the "Read Only Property Definition" article.
As for the second questions, when do you want those events to fire ?
Regards,
Maya
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items