| 
1 |  | -<!--  Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information.  -->  | 
 | 1 | +<!--  Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information.  -->  | 
2 | 2 | <Page x:Class="CanvasViewExperiment.Samples.CanvasViewDragSample"  | 
3 | 3 |       xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  | 
4 | 4 |       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  | 
 | 5 | +      xmlns:controls="using:CommunityToolkit.WinUI.Controls"  | 
5 | 6 |       xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  | 
6 |  | -      xmlns:labs="using:CommunityToolkit.Labs.WinUI"  | 
7 | 7 |       xmlns:local="using:CanvasViewExperiment.Samples"  | 
8 | 8 |       xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"  | 
9 | 9 |       mc:Ignorable="d">  | 
10 | 10 | 
 
  | 
11 |  | -    <labs:CanvasView MinHeight="400"  | 
12 |  | -                     VerticalAlignment="Stretch"  | 
13 |  | -                     ItemsSource="{x:Bind Rectangles}">  | 
14 |  | -        <labs:CanvasView.ItemTemplate>  | 
 | 11 | +    <controls:CanvasView MinHeight="400"  | 
 | 12 | +                         VerticalAlignment="Stretch"  | 
 | 13 | +                         ItemsSource="{x:Bind Rectangles}">  | 
 | 14 | +        <controls:CanvasView.ItemTemplate>  | 
15 | 15 |             <DataTemplate x:DataType="local:ObservableRect">  | 
16 | 16 |                 <Border Canvas.Left="{x:Bind Left, Mode=TwoWay}"  | 
17 | 17 |                         Canvas.Top="{x:Bind Top, Mode=TwoWay}"  | 
 | 
29 | 29 |                                Style="{StaticResource BodyStrongTextBlockStyle}"  | 
30 | 30 |                                TextWrapping="WrapWholeWords">  | 
31 | 31 |                         <Run Text="{x:Bind Left, Mode=OneWay}" />  | 
32 |  | -                        ,<Run Text="{x:Bind Top, Mode=OneWay}" />  | 
 | 32 | +                        <Run Text="{x:Bind Top, Mode=OneWay}" />  | 
33 | 33 |                     </TextBlock>  | 
34 | 34 |                 </Border>  | 
35 | 35 |             </DataTemplate>  | 
36 |  | -        </labs:CanvasView.ItemTemplate>  | 
37 |  | -    </labs:CanvasView>  | 
 | 36 | +        </controls:CanvasView.ItemTemplate>  | 
 | 37 | +    </controls:CanvasView>  | 
38 | 38 | </Page>  | 
0 commit comments