Renommage et modification des namespaces pour la compatibilité avec les composants et normes

pull/35/head
Rémi LAVERGNE 1 year ago
parent d01592e49f
commit ac99c06210
No known key found for this signature in database
GPG Key ID: CA264B55E97FD220

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:view="clr-namespace:Trek_12.Views.component"
xmlns:views="clr-namespace:Trek_12.Views.Components"
x:Class="Trek_12.Views.PageLeaderBoard"
Title="PageLeaderBoard">
<Grid BackgroundColor="BlanchedAlmond"
@ -22,12 +22,12 @@
VerticalScrollBarVisibility="Never"
Margin="0,10">
<VerticalStackLayout>
<view:ContentLeaderBoard/>
<view:ContentLeaderBoard/>
<view:ContentLeaderBoard/>
<view:ContentLeaderBoard/>
<view:ContentLeaderBoard/>
<view:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
<views:ContentLeaderBoard/>
</VerticalStackLayout>
</ScrollView>
<Button Text="Back"

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.pageProfils"
xmlns:views="clr-namespace:Trek_12.Views"
x:Class="Trek_12.Views.PageProfils"
xmlns:views="clr-namespace:Trek_12.Views.Components"
Title="pageProfils">
<ContentPage.Content>

@ -1,8 +1,8 @@
namespace Trek_12.Views;
public partial class pageProfils : ContentPage
public partial class PageProfils : ContentPage
{
public pageProfils()
public PageProfils()
{
InitializeComponent();
}

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.pageRegles"
xmlns:views="clr-namespace:Trek_12.Views"
x:Class="Trek_12.Views.PageRegles"
xmlns:views="clr-namespace:Trek_12.Views.Components"
Title="pageRegles">
<ContentPage.Content>

@ -1,8 +1,8 @@
namespace Trek_12.Views;
public partial class pageRegles : ContentPage
public partial class PageRegles : ContentPage
{
public pageRegles()
public PageRegles()
{
InitializeComponent();
}

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Trek_12.Views.viewsProfils"
xmlns:views="clr-namespace:Trek_12.Views">
<VerticalStackLayout>
<Grid ColumnDefinitions="*,*,*,*" >
<Frame Margin="10"
Grid.Column="1"
BorderColor="Black"
CornerRadius="50"
HeightRequest="60"
WidthRequest="60"
IsClippedToBounds="True"
HasShadow="True"
HorizontalOptions="CenterAndExpand">
<Image Source="profile.jpg"
Aspect="AspectFill"
Margin="-20"/>
</Frame>
<Label Text="Profile n°*" Grid.Column="2" TextColor="Black" FontSize="Large" HorizontalTextAlignment="Center" Margin="100"/>
</Grid>
</VerticalStackLayout>
</ContentView>

@ -1,9 +0,0 @@
namespace Trek_12.Views;
public partial class viewsProfils : ContentView
{
public viewsProfils()
{
InitializeComponent();
}
}
Loading…
Cancel
Save