Hello guys,
I’m using a XamPropertyGrid (Version:2015.2, Style:Office2013, .Net:4.6.1, Win10 Desktop) in a readonly mode to display some data.
In the readonly mode the Timepicker (#FF000000) has a different color than the Textboxes (#FF808080).
We would like to change the style so that we have only one kind of grey. Where do I need to change the Styles?
I have one more question: We want only grey when the property is readonly and not for the whole control, but when the whole control is readonly then we want the property black. How and where can I do this?
Thanks for the help,
Jan
Hello Valerie,
the last Service release did the Job.
Hello Jan,
Originally when I created the sample I was using the latest service release for 15.2. If you upgrade to the latest service release this should resolve the problem with finding XamlHelper.RecognizesAccessKey. Otherwise you can just remove igPrim:XamlHelper.RecognizesAccessKey="True" from the xaml in the Styles.Shared.xaml file.
Please let me know if you have any questions,
Sincerely,
Valerie
Copy past out of VS:Error The attachable property 'RecognizesAccessKey' was not found in type 'XamlHelper'. WpfApplication1 ...\WpfApplication1\WpfApplication1\OfficeTheme\Styles.Shared.xaml 573 Error The attachable property 'RecognizesAccessKey' was not found in type 'XamlHelper'. WpfApplication1 ...\WpfApplication1\WpfApplication1\OfficeTheme\Styles.Shared.xaml 664 Error The member "RecognizesAccessKey" is not recognized or is not accessible. WpfApplication1 ...\WpfApplication1\WpfApplication1\OfficeTheme\Styles.Shared.xaml 573 Error The member "RecognizesAccessKey" is not recognized or is not accessible. WpfApplication1 ...\WpfApplication1\WpfApplication1\OfficeTheme\Styles.Shared.xaml 664 Error The property 'XamlHelper.RecognizesAccessKey' does not exist in XML namespace 'http://schemas.infragistics.com/xaml/primitives'. Line 573 Position 196. WpfApplication1 ...\WpfApplication1\WpfApplication1\OfficeTheme\Styles.Shared.xaml 573
What type of errors are you getting running the sample?
Hallo Valerie,
Sorry for the late replay. I just tried the sample application and got a hand full of errors in the styles. I tried making all the changes you made, but without any success.
Can you please look once more to this issue?
Thanks, Jan