Iyon_Groznyy

Untitled

Jun 24th, 2022
873
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.64 KB | None | 0 0
  1. <Grid
  2.            Grid.Row="2"
  3.            Margin="16,24,16,0"
  4.            IsVisible="False"
  5.            RowDefinitions="48,18"
  6.            RowSpacing="12"
  7.            VerticalOptions="Center">
  8.             <Button
  9.                Grid.Row="0"
  10.                BackgroundColor="White"
  11.                Command="{Binding WithdrawCommand}"
  12.                CornerRadius="8"
  13.                FontFamily="Poppins700"
  14.                FontSize="16"
  15.                IsVisible="False"
  16.                Text="{ext:Strings TEXT_WITHDRAW_APPLICATION}"
  17.                TextColor="{StaticResource BlackRock}"
  18.                VerticalOptions="End">
  19.                 <Button.Triggers>
  20.                     <DataTrigger
  21.                        Binding="{Binding State}"
  22.                        TargetType="Button"
  23.                        Value="{x:Static enums:JobState.Applied}">
  24.                         <Setter Property="IsVisible" Value="True" />
  25.                     </DataTrigger>
  26.                 </Button.Triggers>
  27.             </Button>
  28.             <Label
  29.                Grid.Row="2"
  30.                FontFamily="Inter400"
  31.                FontSize="14"
  32.                HorizontalOptions="Center"
  33.                Text="{Binding CurrentJob.AppliedText}"
  34.                TextColor="{StaticResource DarkLiver}" />
  35.             <Grid.Triggers>
  36.                 <DataTrigger
  37.                    Binding="{Binding State}"
  38.                    TargetType="Grid"
  39.                    Value="{x:Static enums:JobState.Applied}">
  40.                     <Setter Property="IsVisible" Value="True" />
  41.                 </DataTrigger>
  42.             </Grid.Triggers>
  43.         </Grid>
Advertisement
Add Comment
Please, Sign In to add comment