We have developed WPF custom control application whose task to load properties from XML file. Loading is done through “PropertyGridPropertyItem” using ActiProControl.Properties.Add(…) method.
In custom control, for each “PropertyGridPropertyItem” we have handled event called
propertyGridItem.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(propertyGridItem_PropertyChanged);
When property change occurs, we need to enable & disable some other properties. So, we have those property item’s index & set IsEnable = true and IsReadOnly = false. But it doesn’t change their state. For temporary we need to call ActiProControl.Refresh() function to get desired effect. BUT IT FLICKERS THE SCREEN THAT WE DON’T WANT. Can you please provide solution for that?
If I do the same thing in WPF application & direct using ActiPro Properties control instead of our User control it works FINE.
In custom control, for each “PropertyGridPropertyItem” we have handled event called
propertyGridItem.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(propertyGridItem_PropertyChanged);
When property change occurs, we need to enable & disable some other properties. So, we have those property item’s index & set IsEnable = true and IsReadOnly = false. But it doesn’t change their state. For temporary we need to call ActiProControl.Refresh() function to get desired effect. BUT IT FLICKERS THE SCREEN THAT WE DON’T WANT. Can you please provide solution for that?
If I do the same thing in WPF application & direct using ActiPro Properties control instead of our User control it works FINE.