Hello,
I want to modifiy the Visibility property using a DataTrigger,
the reason is because sometimes i need to put
<igDP:Field Name="prueba" Visibility="Collapsed"
and other times:
<igDP:Field Name="prueba" Visibility="Visible"
Thanks,
I want to do something like this but it doesn't work:
<igDP:Field Name="Excepciones" > <igDP:Field.Settings> <igDP:FieldSettings > <igDP:FieldSettings.CellPresenterStyle > <Style> <Style.Triggers> <DataTrigger Binding="{Binding Path=DataItem, Converter={StaticResource ConvTieneHijos}}" Value="True"> <Setter Property="Visibility" Value="True" /> </DataTrigger> <DataTrigger Binding="{Binding Path=DataItem, Converter={StaticResource ConvTieneHijos}}" Value="False"> <Setter Property="Visibility" Value="False" /> </DataTrigger> </Style.Triggers> </Style> </igDP:FieldSettings.CellPresenterStyle > </igDP:FieldSettings> </igDP:Field.Settings> </igDP:Field>
Hello Igor,
Thank you for your post. I have been looking into it and I am wondering if you want the whole field to be collapsed (all cells collapsed) or you want particular cells only to be collapsed?
Looking forward for your reply.