Skip to content

Commit 33eab9b

Browse files
author
msftbot[bot]
authored
Update Mouse to FrameworkElementExtensions (#3937)
## Fixes # This will fix the oversight in the documentation after the 7.0 breaking change ## PR Type Documentation content changes Sample app changes ## What is the current behavior? The sample app documentation use the old Mouse property ## What is the new behavior? The sample app documentation use the new FrameworkElementExtensions methodproperty
2 parents 3e69b15 + 1f5537f commit 33eab9b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Mouse/MouseCursorPage.bind

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Margin="50,100,20,20"
99
HorizontalAlignment="Left"
1010
VerticalAlignment="Top"
11-
ui:Mouse.Cursor="UniversalNo"
11+
ui:FrameworkElementExtensions.Cursor="UniversalNo"
1212
Background="DeepSkyBlue">
1313
<TextBlock Margin="4"
1414
HorizontalAlignment="Center"
@@ -21,7 +21,7 @@
2121
Margin="20"
2222
HorizontalAlignment="Left"
2323
VerticalAlignment="Top"
24-
ui:Mouse.Cursor="Wait"
24+
ui:FrameworkElementExtensions.Cursor="Wait"
2525
Background="Orange">
2626
<TextBlock Margin="4"
2727
HorizontalAlignment="Center"
@@ -37,7 +37,7 @@
3737
<Button Margin="20,290,20,20"
3838
HorizontalAlignment="Left"
3939
VerticalAlignment="Top"
40-
ui:Mouse.Cursor="Hand"
40+
ui:FrameworkElementExtensions.Cursor="Hand"
4141
Content="Button with Hand cursor, just like on web" />
4242
</Grid>
43-
</Page>
43+
</Page>

0 commit comments

Comments
 (0)