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
1085
Datarecord cell area key null error
posted

Hi Support,

I have defined Datarecord cell area style as

 

 

 

<Style x:Key="rowstatic" TargetType="{x:Type igDP:DataRecordCellArea}" BasedOn="{x:Static igTheme:DataPresenterOnyx.DataRecordCellArea}">

 

 

 

<Style.Triggers>

 

 

 

<DataTrigger Binding="{Binding RelativeSource={RelativeSource Self},Path=Record.DataItem.Selection}" Value="True">

 

 

 

<Setter Property="TextBlock.FontWeight" Value="Bold" />

 

 

 

</DataTrigger>

 

 

 

</Style.Triggers>

 

 

 

</Style>

and in the field layuot setting , i set the following property

DataRecordCellAreaStyle

 

 

="{StaticResource rowstatic}"

while building solution , i get error saying

Error 43 Unknown build error, 'Key cannot be null.
Parameter name: key Line 466 Position 100.'  

Can any one help me out in this

  • 138253
    Offline posted

    Hello,

     

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter. 

  • 138253
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and the code you have provided and I suggest you add the following namespace in the file where you get this error:

     

    xmlns:igTheme="http://infragistics.com/Themes"

     

    Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.