Skip to content

Commit fc7b344

Browse files
Merge pull request #2 from SyncfusionExamples/modify-docklayout-namespace
MAUI-962529 Modified namespace initialization of .NET MAUI DockLayout.
2 parents 0ee72d3 + 54b0e5b commit fc7b344

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
33
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4-
xmlns:dx="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
4+
xmlns:sf="clr-namespace:Syncfusion.Maui.Core;assembly=Syncfusion.Maui.Core"
55
x:Class="DockLayoutGettingStarted.MainPage">
66

77

88
<ContentPage.Content>
9-
<dx:SfDockLayout Margin="20" ShouldExpandLastChild="True">
10-
<Label Text="Left" WidthRequest="80" dx:SfDockLayout.Dock="Left" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#E57373" />
11-
<Label Text="Right" WidthRequest="80" dx:SfDockLayout.Dock="Right" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#BA68C8" />
12-
<Label Text="Top" HeightRequest="80" dx:SfDockLayout.Dock="Top" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#F06292" />
13-
<Label Text="Bottom" HeightRequest="80" dx:SfDockLayout.Dock="Bottom" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#9575CD"/>
14-
<Label Text="None" dx:SfDockLayout.Dock="Top" MinimumHeightRequest="80" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" BackgroundColor="#64B5F6" />
15-
</dx:SfDockLayout>
9+
<sf:SfDockLayout Margin="20" ShouldExpandLastChild="True">
10+
<Label Text="Left" WidthRequest="80" sf:SfDockLayout.Dock="Left" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#E57373" />
11+
<Label Text="Right" WidthRequest="80" sf:SfDockLayout.Dock="Right" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#BA68C8" />
12+
<Label Text="Top" HeightRequest="80" sf:SfDockLayout.Dock="Top" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#F06292" />
13+
<Label Text="Bottom" HeightRequest="80" sf:SfDockLayout.Dock="Bottom" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" Background="#9575CD"/>
14+
<Label Text="None" sf:SfDockLayout.Dock="Top" MinimumHeightRequest="80" HorizontalTextAlignment="Center" VerticalTextAlignment="Center" BackgroundColor="#64B5F6" />
15+
</sf:SfDockLayout>
1616
</ContentPage.Content>
1717

1818
</ContentPage>

0 commit comments

Comments
 (0)