Hi,
I have the following:
<Grid Grid.Row="11" ColumnSpacing="0" RowSpacing="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.Triggers>
<DataTrigger TargetType="Grid" Binding="{Binding Source={x:Reference LabelPostTreatments}, Path=Text, TargetNullValue=''}" Value="">
<Setter Property="IsVisible" Value="False" />
</DataTrigger>
</Grid.Triggers>
<Label Grid.Row="0" Margin="5" Text="Treatments : " TextColor="Red" VerticalOptions="Center" />
<Label x:Name="LabelPostTreatments" Grid.Row="1" Margin="5" Text="{Binding post_treatments}" />
<BoxView Grid.Row="2" HeightRequest="1" BackgroundColor="LightGray" HorizontalOptions="FillAndExpand" />
</Grid>
How can I make the DataTrigger to change the parent row which is in the above Row="11"?
Thanks,
Jassim