Révision 09d4a0de GES_PAC/Resources/Styles/Styles.xaml

Voir les différences:

GES_PAC/Resources/Styles/Styles.xaml
1
<?xml version="1.0" encoding="UTF-8" ?>
1
<?xml version="1.0" encoding="UTF-8" ?>
2 2
<?xaml-comp compile="true" ?>
3 3
<ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
4 4

  
......
475 475
        <Setter Property="TextColor" Value="{StaticResource InraeTertiary}" />
476 476
        <Setter Property="FontSize" Value="Medium" />
477 477
    </Style>
478
    
479
    
478

  
479

  
480
    <!-- STYLE PROPRE A GES_PAC -->
481
    <Style x:Key="ChambreButtonStyle" TargetType="Button">
482
        <Setter Property="BackgroundColor" Value="White"/>
483
        <Setter Property="TextColor" Value="Black"/>
484
        <Setter Property="BorderColor" Value="Black"/>
485
        <Setter Property="BorderWidth" Value="1"/>
486
        <Setter Property="CornerRadius" Value="5"/>
487
        <Setter Property="WidthRequest" Value="75"/>
488
        <Setter Property="HeightRequest" Value="75"/>
489
        <Setter Property="FontAttributes" Value="Bold"/>
490
        <Setter Property="VisualStateManager.VisualStateGroups">
491
            <VisualStateGroupList>
492
                <VisualStateGroup x:Name="CommonStates">
493
                    <VisualState x:Name="Normal">
494
                        <VisualState.Setters>
495
                            <Setter Property="BackgroundColor" Value="White"/>
496
                            <Setter Property="TextColor" Value="Black"/>
497
                        </VisualState.Setters>
498
                    </VisualState>
499
                    <VisualState x:Name="Pressed">
500
                        <VisualState.Setters>
501
                            <Setter Property="BackgroundColor" Value="#E0E0E0"/>
502
                            <Setter Property="TextColor" Value="Gray"/>
503
                        </VisualState.Setters>
504
                    </VisualState>
505
                </VisualStateGroup>
506
            </VisualStateGroupList>
507
        </Setter>
508
    </Style>
509

  
510

  
511

  
480 512
</ResourceDictionary>

Formats disponibles : Unified diff