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
470
Raise PropertyChanged when IsGroupBy changes
posted

Is there a way to raise PropertyChanged when IsGroupBy changes on a FieldLayout? I have some labels whose Visibilities I want to bind to IsGroupBy using a DataTrigger. The initial rendering works fine, however, when the user groups/degroups on the XamDataGrid, the DataTrigger is not reevaluated because no PropertyChanged was raised.

Definition of DataTrigger mentioned:

<DataTrigger Binding="{Binding IsGroupBy, ElementName=itemType, Mode=TwoWay}" Value="True">

   <Setter Property="Label.Visibility" Value="Collapsed" />

</DataTrigger>

Definition of "itemType":

<igDP:FieldSortDescription x:Name="itemType" IsGroupBy="True" Direction="Ascending" FieldName="Item_Type"/>

Thanks!

Parents Reply Children
No Data