Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
XamDataGrid - ComboBoxField set text red
posted

Hello I am using a CombBoxField in a XamDataGrid. The combobox has a style set on it to set the foreground of the text to red if the object is inactive.  This works great in the combobox.  However, I can't figure out how to make the text, when not in edit mode to be red as well.  

<igWPF:ComboBoxField Name="MyField"
                                Label="Code}"
                                ItemsSource="{igWPF:FieldBinding MyCodes}"
                                DisplayMemberPath="CodeDescriptionText"
                                DataType="{x:Type MyActiveInactiveCodes}"
                                ComboBoxStyle="{StaticResource AllCodesComboBoxStyle}" />

There is an image available here. If you can't see the one I tried to put in here.

https://drive.google.com/file/d/0B5eEx2WSqAV3ejRFQ3pWZklkenc/view?usp=sharing