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
2815
Styling xamDataGrid using FieldLayoutSettings
posted

Can someone tell me why all Setters starting from the comments are not being applied, when 

this style is referenced in my grid? 

TIA.

 <Style x:Key="readonlyGrid" TargetType="{x:Type igDP:XamDataGrid}">
        <Setter Property="Theme" Value="Print Basic"/>
       
        <!-- WHY ARE THESE SETTERS NOT BEING APPLIED ?? -->
        <Setter Property="igDP:FieldLayoutSettings.DataRecordCellAreaStyle" Value="{StaticResource customCellArea}"/>
        <Setter Property="igDP:FieldLayoutSettings.FilterUIType" Value="LabelIcons"/>
        <Setter Property="igDP:FieldLayoutSettings.SelectionTypeCell" Value="Single"/>
        <Setter Property="igDP:FieldLayoutSettings.AllowAddNew" Value="False"/>
        <Setter Property="igDP:FieldLayoutSettings.AllowDelete" Value="False"/>
        <Setter Property="igDP:FieldLayoutSettings.HighlightAlternateRecords" Value="True"/>
    </Style>