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
455
Define style for columns having 'AllowEdit=False'
posted

Hi!

I've a global styles.xaml file where I define the overall styles for my project. Now I want to define a special style for those columns in my XamDataGrid that have the attribute 'AllowEdit=False'.

<igDP:Field.Settings>
  <igDP:FieldSettings AllowEdit="False" />
</igDP:Field.Settings>

I've already tried following, but that didn't work:

<Trigger Property="igDP:FieldSettings.AllowEdit" Value="False">
  <Setter Property="igDP:DataRecordCellArea.Background" Value="Red"/>
</Trigger>

Any ideas?

Stephan