Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anpi/refresh.from.upstream #92

Open
wants to merge 274 commits into
base: uno
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
274 commits
Select commit Hold shift + click to select a range
2150909
Updated colors used by RichEditBox custom editor (#56)
Mar 8, 2019
9a3d28e
Fixed additional code missing from code example pages.
adambarlow Mar 8, 2019
f74c1db
fixing a long line
adambarlow Mar 11, 2019
c6f6c17
Merge pull request #68 from Microsoft/w/adambarlow/XAMLUICommand_changes
adambarlow Mar 11, 2019
a53c956
Fixing a bug with ContextMenuFlyout of the StandardUICommand sample.
adambarlow Mar 12, 2019
4aa2559
Merge pull request #70 from Microsoft/w/adambarlow/XAMLUICommand_changes
adambarlow Mar 13, 2019
2527a33
Updated MenuBar sample to include RadioMenuFlyoutItem (#71)
Mar 20, 2019
779e1ac
Update MUX nuget version (#72)
jevansaks Mar 22, 2019
faa6f0f
Added TeachingTip sample to XAML Controls Gallery. (#73)
SavoySchuler Apr 5, 2019
ba90200
Density Sample Added for WinUI 2.1 (#78)
LucasHaines Apr 5, 2019
8cda869
Retarget to release WinUI nuget package (#79)
jevansaks Apr 6, 2019
0752af0
Fix the TeachingTip sample bug. (#82)
HHChaos Apr 11, 2019
2068fa2
Add missing quotation mark in MenuFlyout example (#86)
sylveon Apr 18, 2019
65c2383
Updated custom RichEditBox menu example (#84)
Apr 18, 2019
d22b2a6
Adding the Temporary Key for CI purposes.
stmoy Apr 29, 2019
6f0d9a9
Merge branch 'master' of https://github.com/Microsoft/Xaml-Controls-G…
stmoy Apr 29, 2019
161e9d0
Including the temporary certificate for CI. Part 2!
stmoy Apr 29, 2019
07579aa
Add Pipeline badge for CI
stmoy Apr 29, 2019
1bc9248
Documentation Fix; "TextBlock" -> "TextBox" (#91)
FoxCouncil May 14, 2019
c1d3a23
Change remaining MSDN links to Docs. (#92)
kmgallahan May 15, 2019
275bd20
Add May 2019 Update target version to bug template (#98)
jesbis Jun 4, 2019
9daffad
Update dependencies list in settings page (#99)
jesbis Jun 7, 2019
eeeb24d
WinAppDriver UI Tests (#89)
hassanuz Jun 7, 2019
33ff35f
Retarget to 19h1 and WinUI 2.2 (#102)
jevansaks Jun 13, 2019
effc909
Added tooltips to CommandBarFlyout sample and updated sample code. (#…
Jun 13, 2019
2d3d7bf
Pull 19H1 into Master (#103)
stmoy Jun 13, 2019
3c8f383
Typo fix in code for CompactSizingPage.
stmoy Jun 13, 2019
5543b5a
Fix accessibility issue preventing tab navigation. (#105)
micahl Jun 17, 2019
a952f46
Hide the Acrylic luminosity sample that is causing crashes. (#113)
stmoy Jul 2, 2019
8ec6522
Clarify ToggleMenuFlyoutItem sample (#114)
stmoy Jul 2, 2019
a6e84fc
Update In app acrylic code snippet (#123)
kikisaints Jul 24, 2019
848ce54
Added link to GitHub (#124)
Jul 24, 2019
3294830
Updated state of app title (#116)
Jul 24, 2019
c71bd6f
Added More button to the sample. (#117)
Jul 24, 2019
52e4b76
Added code to NavigationView API in action sample (#125)
Jul 26, 2019
45db042
Update README.md
stmoy Aug 2, 2019
62b0b58
Update README.md
stmoy Aug 2, 2019
e3097da
Adding statusNotificationTargets metadata
stevewhims Aug 2, 2019
58cc8bd
Change code sample to be fit the component it is for (#127)
marcelwgn Aug 5, 2019
b83bf80
Update README.md
glibnub Aug 5, 2019
883259c
Fixe typos in MenuFlyout page; Closes #38; (#130)
marcelwgn Aug 7, 2019
170805a
Remove Hub control from the Controls gallery; Closes #120; (#137)
marcelwgn Aug 12, 2019
f5ca410
Change StandardUICommandPage to select the item it is for; Closes #10…
marcelwgn Aug 13, 2019
8de0072
Restore search box border; Closes #115; (#132)
marcelwgn Aug 13, 2019
f015e5b
Change button sample codes to display the "IsEnabled" attribute when …
marcelwgn Aug 13, 2019
fa44753
Update CommandBar to be update sample code change dynamically; Closes…
marcelwgn Aug 14, 2019
c775df6
Fix bug where app crashes when input was invalid; Fix bug where enter…
marcelwgn Aug 14, 2019
f782dd2
Add lorem ipsum text to splitbutton page; Closes #95; (#143)
marcelwgn Aug 14, 2019
bd4dfa6
Add code samples for KeyAccerelerators; Closes #34; (#133)
marcelwgn Aug 19, 2019
fd86781
Improve search to be more inclusive; Closes #96; (#136)
marcelwgn Aug 19, 2019
c9d1c76
Fix "bug" where OnNavigatedFrom was not called; Closes #74; (#145)
marcelwgn Aug 19, 2019
9fe8c38
Fix coloring behaviour with RichEditBox; Closes #139; (#147)
marcelwgn Aug 19, 2019
9fe08f2
Add "unload" event method in PageHeader for Itempage unload; Closes #…
marcelwgn Aug 19, 2019
16027bc
Remove fixed locales from URL's; Closes #58; (#151)
marcelwgn Aug 21, 2019
f96bdf1
Focus searchbar onstart (#138)
marcelwgn Aug 21, 2019
07028a4
Fix bug with appearance of caption controls; Closes #142; (#150)
marcelwgn Aug 23, 2019
fff7b73
New Store Version: 1.2.9.0. Update Package.appxmanifest to reflect.
stmoy Aug 23, 2019
119aeb7
Fix decolorization of text in REB; Closes #146; (#154)
marcelwgn Aug 26, 2019
8d86893
Fix invalid qualifier names; Closes #97; (#152)
marcelwgn Aug 26, 2019
81d13c1
Add header and margin to button for PageTransitions page; Closes #163…
marcelwgn Aug 27, 2019
47f238a
Add header to RadioButton group; Closes #162; (#173)
marcelwgn Aug 27, 2019
1cc543d
Fix bug with narrator not reading flyouts; Closes #161; (#172)
marcelwgn Aug 27, 2019
298ae4a
Add header for shape toggle button on InkCanvas page; Closes #167; (#…
marcelwgn Aug 28, 2019
ae43437
Fix bug with narrator not switching item at first try; Closes #168; (…
marcelwgn Aug 28, 2019
d2ea351
Fix bug with togglesplitbutton and touch displays; Closes #166 (#178)
marcelwgn Aug 28, 2019
383ced3
Fix bug where first ScrollViewer was not focusable; Closes #160; (#165)
marcelwgn Aug 28, 2019
9a2cb41
Fix bug where zoomslider would jump when sliding; Closes #182; (#193)
marcelwgn Aug 30, 2019
bcc5bf8
Fix sun icon wrong color on high contrast in PTR page; (#159)
marcelwgn Aug 30, 2019
46cd9e3
Add tooltips to buttons in AnimatedVisualPlayer; Closes #170; (#175)
marcelwgn Aug 30, 2019
68bd954
Add missing list name; Closes #183: (#189)
marcelwgn Aug 30, 2019
a08fb03
Add missing slider names; Closes #185 (#190)
marcelwgn Aug 30, 2019
39d5d1c
Fix misleading click message output; Closes #187; (#191)
marcelwgn Aug 30, 2019
9313f80
Fix bug with sliders where not all values where reachable by keyboard…
marcelwgn Aug 30, 2019
d5fa1b0
Add missing combo box names; Closes #186; (#188)
marcelwgn Aug 30, 2019
97271bb
Fix bug where losing focus removes color; Closes #144; (#157)
marcelwgn Aug 30, 2019
bcb3a75
Fix bug where narrator would not shift-tab to scrollviewer; Closes #1…
marcelwgn Sep 5, 2019
1714628
Add Reveal styles (and Accent style) to samples (#195)
marcelwgn Sep 5, 2019
d5f18b9
Move PullToRefresh.xaml.cs inside its .xaml file in project view (#196)
marcelwgn Sep 5, 2019
f0d4907
Add sample for PlacementRect, Remove ignored offset, Closes #180 (#197)
marcelwgn Sep 10, 2019
dc1244a
Update WinUI package to 2.2 release (#201)
stmoy Sep 10, 2019
db96b33
Fix bug with changing focus and apply changes from #157 to SplitButto…
marcelwgn Sep 18, 2019
e20a7a4
Fix crashing with acrylic page, Closes #107 (#202)
marcelwgn Sep 18, 2019
1a82534
Updated nuget version, remove fix for now fixed bug (#206)
marcelwgn Sep 19, 2019
d6af4e5
Add TabView Samples (#204)
stmoy Sep 19, 2019
a48cfbd
App title bar (#198)
Sep 19, 2019
1df0662
Link Updates & Remove MediaElement sample (#205)
stmoy Sep 23, 2019
7406015
Add tooltips for hyperlinks on control sample pages (#209)
marcelwgn Sep 23, 2019
7ca3287
Fix bug where app would crash when opening MediaPlayElement page (#213)
marcelwgn Sep 26, 2019
17bc958
Switch to WinUI Colorpicker (#215)
marcelwgn Oct 3, 2019
5c8a9bd
Add RevealStyle sample for Split- and DropDownbutton (#208)
marcelwgn Oct 3, 2019
e10ead9
Fix bug where the "Dynamic displaymode sample" would not work correct…
marcelwgn Oct 14, 2019
3f2bac9
Updated references to MUXC (#216)
Oct 14, 2019
2380471
TabView: Mark handled keyboard accelerator events as handled (#221)
stmoy Oct 15, 2019
8ef37a8
Update Media.cs UI Tests (#223)
hassanuz Oct 15, 2019
e4bf77a
Update Media.CS UI Tests (#224)
hassanuz Oct 15, 2019
246dc6d
Switch from ToggleSwitch to radio buttons for pen tip (#230)
marcelwgn Oct 28, 2019
2e24b79
Update MenuFlyout sample code (#229)
marcelwgn Oct 28, 2019
926b7e3
Updated IsNew and IsUpdated status of pages. (#233)
Oct 29, 2019
30d7dae
Fixing issue 232 (#235)
salmanmkc Oct 30, 2019
d417d37
344 is a better value since it scales well (#241)
salmanmkc Nov 1, 2019
c641271
added full stop for MenuBar description (#240)
salmanmkc Nov 1, 2019
15bf1a3
added full stop to subtitle and description (#239)
salmanmkc Nov 1, 2019
7035fb8
Updated ItemsRepeater Page (#227)
Nov 1, 2019
19837e5
Fix system caption buttons not updating colors when system theme chan…
marcelwgn Nov 11, 2019
d4c658b
Added DropShadow behind text over hero image (#234)
Nov 11, 2019
818a25e
Fixed descriptions and subtitles (#250)
salmanmkc Nov 11, 2019
90635cc
updated image, since the subtitles are fixed (#264)
salmanmkc Nov 12, 2019
8d3abb8
Added samples to ListView page (#217)
Nov 13, 2019
3b252ff
Fix bug where focus reveal kind sample would not update (#254)
marcelwgn Nov 13, 2019
da3d2c4
changed MinHeight of headerRoot to 68 (#242)
salmanmkc Nov 13, 2019
2eb1131
Updated GridView Samples (#222)
Nov 13, 2019
0a09c72
Removed unnecessary space from app header in minimal mode (#238)
Nov 13, 2019
187b137
Fixing build error (#266)
Nov 13, 2019
b931e2a
Added filtering sample
Nov 13, 2019
01a707b
Added back ListView samples to .csproj file (#267)
Nov 13, 2019
df29e01
Changed the VisualState contentFrame width for the WideFrameContent t…
salmanmkc Nov 18, 2019
70a59ac
Minor cleanup to subtitles (#269)
stmoy Nov 19, 2019
9959393
Updated ListView filtering sample to include friendlier version of Li…
Nov 20, 2019
ee5bc3d
Added AutomationProperties.Name to textboxes
Nov 20, 2019
6a5b8f6
Updated to use AutomationProperties.LabeledBy instead
Nov 20, 2019
504746a
Merge pull request #272 from microsoft/w/anawishnoff/gridview-patch1
Nov 20, 2019
0a5396e
Updated to WinUI progress bar (#273)
Nov 21, 2019
53116b7
Move RadioButton sample pages onto RadioButtons (#277)
jevansaks Nov 26, 2019
fda6f79
Updated filtering sample so it erases from ListView source rather tha…
Dec 2, 2019
828ecd2
Updated to cleaner code and edited code samples for users
Dec 3, 2019
5cbe8ee
Merging with master
Dec 3, 2019
23c9158
Wording and format changes (#271)
salmanmkc Dec 3, 2019
56aea2e
Merge branch 'master' of https://github.com/microsoft/Xaml-Controls-G…
Dec 3, 2019
3a2ba1a
Updated with PR feedback
Dec 3, 2019
cc1cd3a
Enable Debug builds to run side-by-side with store version (#276)
jevansaks Dec 5, 2019
f251e5f
Control example scaling (#270)
salmanmkc Dec 5, 2019
0367f77
Fix misspelled page transition DrillInNavigation (#278)
marcelwgn Dec 5, 2019
f9ba3a6
Fix typo with backbutton visibility in NavigationView sample (#284)
marcelwgn Dec 6, 2019
deab1dc
Fixed with feedback from last review, and added link to filtering doc…
Dec 9, 2019
8cc73e2
Merge branch 'master' of https://github.com/microsoft/Xaml-Controls-G…
Dec 9, 2019
4230a62
Minor changes from last review
Dec 10, 2019
f2d4568
Add version checks to prevent crashes related to AppWindow in TabView…
stmoy Dec 11, 2019
1afb3a7
Remove InkToolbar reference from InkCanvas page since it doesn't exis…
stmoy Dec 12, 2019
2222fff
Added missing closing tag in GridView example. (#295)
Lee-WonJun Dec 12, 2019
a31f67a
Fix bug where cut and paste would not correctly work on SplitButtonPa…
marcelwgn Dec 12, 2019
4e1e9d4
Add AutomationProperties page (#288)
marcelwgn Dec 12, 2019
e344096
Should use Share icon for Share button (#300)
michael-hawker Dec 16, 2019
8546c89
Update to latest WinUI 2.3 release package (#302)
stmoy Dec 17, 2019
0c04562
Fixed formatting issues with ListView w Images sample, and added more…
Dec 18, 2019
4bf128b
Fixed formatting issues for ListView w Images
Dec 18, 2019
6b9a068
Initial commit of NumberBox sample. (#279)
SavoySchuler Dec 19, 2019
5a7030a
Switch to NumberBox for number input in pages (#274)
marcelwgn Dec 19, 2019
d1d4d35
Fix build break
stmoy Dec 19, 2019
8346586
Add InkToolbar page (#307)
marcelwgn Jan 6, 2020
3c91096
Replace wrong ComboBox guideline link with correct one (#311)
marcelwgn Jan 6, 2020
33f308e
changing KB accelerator for settings to be CTRL+I on CommandBar page …
salmanmkc Jan 7, 2020
2785a08
Showing which BTN/KB modifier used on CommandBar example (#306)
salmanmkc Jan 7, 2020
cf85fb7
You clicked messages added to MenuBar page (#263)
salmanmkc Jan 7, 2020
8bf4a14
Improve NavigationView AdaptiveTrigger code sample (#291)
marcelwgn Jan 9, 2020
bbf858b
Apply suggestions from code review
Jan 9, 2020
0fd1711
Deleting last HorizontalAlignment inside horizontal stack panel
Jan 9, 2020
ca9fd40
Merge conflicts fixed
Jan 9, 2020
f437870
Revert "Fixed formatting issues for ListView w Images"
Jan 9, 2020
6d436f1
Merge pull request #281 from microsoft/w/anawishnoff/listview-w-filte…
Jan 9, 2020
58b7f96
update to latest 2.4 prerelease version of microsoft.ui.xaml (#318)
ranjeshj Jan 15, 2020
490ad84
Canvas squares bounds added and box modded (#319)
salmanmkc Jan 15, 2020
8d3beb9
Fixed accessibility issue with GridViewItems not having an appropriat…
Jan 16, 2020
e74a088
Fix crash when clearing Numberbox (#329)
marcelwgn Jan 17, 2020
b4999d3
update winui to latest prerelease (#342)
ranjeshj Feb 6, 2020
54139c9
Fix app crash when trying to set pencil to rectangle on inktoolbar pa…
marcelwgn Feb 7, 2020
0268cff
Changed color of message box for visibility (#317)
Feb 7, 2020
cee411d
Fix issue with text not wrapping on AutomationProperties page (#350)
marcelwgn Feb 12, 2020
14f3e57
Fix crash with NumberBox value being NaN (#355)
marcelwgn Feb 19, 2020
8132dc5
Increase ComboBox width to account for text scaling (#356)
marcelwgn Feb 19, 2020
98e0962
Adds a minimal EditorConfig and resolves a rule violation. (#343)
kmgallahan Feb 20, 2020
70af314
Add missing windows version (#352)
marcelwgn Feb 20, 2020
c38e2a8
New advanced ItemsRepeater Samples (#345)
Feb 24, 2020
0854911
Resolves 13 code style rule violations. (#359)
kmgallahan Feb 24, 2020
da72bb5
Fix issue with DrillIn animation not being applied (#351)
marcelwgn Feb 24, 2020
3a29b24
FIx CI test failures because of switch to NumberBox (#347)
marcelwgn Feb 24, 2020
ba33870
Fixing dark mode issue (#361)
Feb 25, 2020
60ad659
Resolves 86 code style rule violations. (#362)
kmgallahan Feb 27, 2020
48b5f3a
Switch namespaces in teachingtip sample to muxc (#371)
stmoy Mar 4, 2020
d5ee255
Add links to ItemsRepeater page (#370)
Mar 6, 2020
3b4895d
updates winui prerelease version (#383)
ranjeshj Mar 23, 2020
42c4164
This PR adds the demos from the WinUI community call (#384)
marcelwgn Mar 23, 2020
6641be0
Cleaned up the settings page (formatting). Added links to 'companion'…
niels9001 Apr 2, 2020
2d8fee0
Rename buttons to be more accessible for people using narrator (#382)
marcelwgn Apr 2, 2020
b63e439
Add source code links to item pages (#392)
marcelwgn Apr 2, 2020
7b52769
Added the link to the Fluent XAML Theme Editor (#396)
niels9001 Apr 6, 2020
c8d3ed2
New icon! (#388)
stmoy Apr 7, 2020
b68f65f
fix typo (#401)
yinyue200 Apr 13, 2020
dc70630
Adding a few new samples (#402)
ranjeshj Apr 17, 2020
6b96380
Fix 397 (#398)
marcelwgn Apr 17, 2020
9cf2312
Resolves 25 code style rule violations. (#366)
kmgallahan Apr 17, 2020
25b61cf
Switch to RadioButtons control in control pages (#364)
marcelwgn Apr 17, 2020
fb9ce97
Add links to GitHub (#411)
stmoy Apr 22, 2020
871355d
Multiple fixes and improvements for XCG's top navigation (#408)
marcelwgn Apr 22, 2020
81c4005
Update WinUI to latest pre-release bits. (#412)
ranjeshj Apr 23, 2020
6e5f1aa
Adding Hierarchical NavigationView sample (#410)
Apr 25, 2020
265c597
Fix missing Toggle Theme button (#415)
ranjeshj Apr 28, 2020
3d93918
Update WinUI version (#417)
ranjeshj May 5, 2020
701e429
Update appxmanifest to latest version corresponding to Store release.
stmoy May 8, 2020
9387c75
Clean up page navigation animations (#424)
stmoy May 11, 2020
34128c4
Fixed stray whitespaces in multiline code samples (#429)
Sergio0694 May 15, 2020
e12fb67
Fix typo in sample (#430)
marcelwgn May 16, 2020
52318e9
Fix issue with the related controls section overlapping (#453)
marcelwgn May 28, 2020
354b36e
Hide unused scrollbars in RadioButtonsPage (#458)
marcelwgn May 29, 2020
f3ff0d4
Add smallchange value to sliders on RadialGradientBrush page (#427)
marcelwgn Jun 5, 2020
ee00794
Fix misleading text (#464)
marcelwgn Jun 8, 2020
7eb2b81
Fix bug where the first radiobutton wouldn't be checked on page start…
marcelwgn Jun 8, 2020
f7e94c6
Fix faulty RadialGradientBrush sample (#419)
marcelwgn Jun 8, 2020
46ff5ae
Typo on InputValidationPage (#469)
oldnewthing Jun 30, 2020
03fa735
Update WinUI version to 2.5 prerelease (#470)
ranjeshj Jun 30, 2020
3bd0944
Improve animated visual player demo (#480)
marcelwgn Jun 30, 2020
bc91f44
Update bug_report.md
stmoy Jul 2, 2020
cd46057
Improve NavigationPosition option on settings page (#477)
marcelwgn Jul 2, 2020
0e9d253
Prevent crashes on ImplicitAnimation page by checking for NaN (#476)
marcelwgn Jul 2, 2020
a945b54
Toggle Switch using ControlExampleSubstitution (#479)
MadEste Jul 2, 2020
3834324
Add override for ButtonBackgroundPointerOver in high contrast (#481)
marcelwgn Jul 2, 2020
9969aeb
Move RadialGradientBrush to Styles (#486)
marcelwgn Jul 6, 2020
7dcced3
Fix issue with ConnectedAnimation crashing due to selection being nul…
marcelwgn Jul 10, 2020
bb62344
Add keyboard accelerator (#498)
marcelwgn Jul 10, 2020
66c9b12
Improve styled textblock sample (#495)
marcelwgn Jul 10, 2020
ec49ed4
Progressring updates (#489)
marcelwgn Jul 10, 2020
5ec0c07
RadioButtons page (#493)
marcelwgn Jul 10, 2020
dccc474
Removed unused resource.
stmoy Jul 10, 2020
f90e40c
Merge branch 'master' of https://github.com/Microsoft/Xaml-Controls-G…
stmoy Jul 10, 2020
7acd3e2
RadioButtons cleanup (#500)
stmoy Jul 14, 2020
dda86cf
update WinUI prerelease version (#499)
ranjeshj Jul 14, 2020
9c6049b
Update manifests to latest store version.
stmoy Jul 14, 2020
8ccb6b9
Merge branch 'master' of https://github.com/Microsoft/Xaml-Controls-G…
stmoy Jul 14, 2020
62e7b17
Resized assets to have standard icon size (#505)
Spyromaniac31 Jul 20, 2020
34aa38e
Allowing keyboard input for the ScrollViewer (#471)
RBrid Jul 20, 2020
5bdd7be
Improve AnimatedVisualPlayer sample (#491)
marcelwgn Jul 27, 2020
94319e8
Select correct item in navigation upon opening item from search (#478)
marcelwgn Aug 5, 2020
6d98c25
Add texthighlighter RichTextBlock sample (#373)
marcelwgn Aug 5, 2020
ee5be96
Fix issue with groups not having appropriate UIA name (#523)
marcelwgn Aug 7, 2020
9ed7815
Set focus on first listview on ListView page when page loads (#522)
marcelwgn Aug 7, 2020
fa25c5f
Update samples that use the RichEditBox (#524)
marcelwgn Aug 7, 2020
0126633
Add ScreenshotMode (#518)
teaP Aug 12, 2020
0498c33
Update the Winui version to the newest prerelease (#530)
StephenLPeters Aug 14, 2020
728dbb5
Update README.md
stmoy Aug 17, 2020
d09826b
Renamed "RatingsControlPage" file to "RatingControlPage" (#533)
winston-de Aug 19, 2020
9e87c2f
Acrylic Page: Changed the step amounts for sliders (#312)
salmanmkc Aug 20, 2020
6b3b484
Update content of button (#555)
marcelwgn Sep 11, 2020
7461490
Fixed typo in TreeView sample (#556)
Thomas1664 Sep 14, 2020
2ed67b1
Change Windows UI Toolkit to Windows UI Library (#562)
thomasclaudiushuber Sep 21, 2020
874e275
Update Winui version to the September prerelease (#563)
StephenLPeters Sep 24, 2020
7c800ab
Rename swipe page (#568)
marcelwgn Oct 7, 2020
22c5fd1
Update AutoSuggestBox sample to be more illustrative (#565)
marcelwgn Oct 19, 2020
ba23262
update muxc version (#582)
ranjeshj Oct 28, 2020
03ed34e
Added names to menu bars so they can easily be identified in UI tests…
jamesmcroft Nov 3, 2020
f95e0a2
Add button wrapping sample (#566)
marcelwgn Nov 16, 2020
624b8fe
Adding a sample for FooterMenuItems (#583)
Nov 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Gallery version (found on Settings page):

Windows 10 version:
- [ ] Insider Build (xxxxx)
- [ ] May 2020 Update (19041)
- [ ] November 2019 Update (18363)
- [ ] May 2019 Update (18362)
- [ ] October 2018 Update (17763)
- [ ] April 2018 Update (17134)
- [ ] Fall Creators Update (16299)
Expand All @@ -44,4 +47,4 @@ Device form factor:
- [ ] IoT

**Additional context**
<!-- Enter any other applicable info here -->
<!-- Enter any other applicable info here -->
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ ClientBin/
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs

Expand Down Expand Up @@ -328,3 +327,4 @@ ASALocalRun/

# MFractors (Xamarin productivity tool) working folder
.mfractor/
/XamlControlsGallery/testcert.pfx
46 changes: 30 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,60 @@
---
topic: sample
page_type: sample
languages:
- csharp
- csharp
- xaml
products:
- windows
- uwp
- windows
- windows-uwp
statusNotificationTargets:
- controlsgallery@microsoft.com
description: Demonstrates the usage of all XAML/WinUI controls in an interactive format.
---

# XAML Controls Gallery

![Xaml Gallery Screenshot](README_Images/XamlGalleryLanding.PNG)

Shows all of the XAML controls in an interactive format. This app is the interactive companion to the [Fluent Design Guidelines](https://docs.microsoft.com/en-us/windows/uwp/design/basics/) and shows the usage of both UWP Xaml APIs and [Windows UI Toolkit](https://docs.microsoft.com/en-us/uwp/toolkits/winui/) APIs.
[![Build Status](https://dev.azure.com/stmoy/Xaml%20Controls%20Gallery/_apis/build/status/XAML%20Controls%20%20Gallery%20-%20CI%20Tests?branchName=master)](https://dev.azure.com/stmoy/Xaml%20Controls%20Gallery/_build/latest?definitionId=2&branchName=master)

This sample shows how to:
Shows all of the XAML controls in an interactive format. This app is the interactive companion to the [Fluent Design Guidelines](https://docs.microsoft.com/windows/uwp/design/basics/) and shows the usage of both UWP Xaml APIs and [Windows UI Library](https://docs.microsoft.com/windows/apps/winui/) APIs.


## The XAML Controls Gallery shows how to:

- **Specify XAML controls in markup:** Each control page shows the markup used to create each example.
- **Use the Microsoft.UI.Xaml (WinUI) Library:** The app includes the latest WinUI NuGet package and shows how to use the [Windows UI Toolkit](https://docs.microsoft.com/en-us/uwp/toolkits/winui/) controls like NavigationView, SwipeControl, and more.
- **Use the Microsoft.UI.Xaml (WinUI) Library:** The app includes the latest WinUI NuGet package and shows how to use the [Windows UI Library](https://docs.microsoft.com/windows/apps/winui/) controls like NavigationView, SwipeControl, and more.

- **Basic layout:** This sample will show all of the possible layout options for your app and allow you to interact with the panels to show how to achieve any layout you are looking for.
- **Adaptive UI:** In addition to showing how each control responds to different form factors, the app itself is responsive and shows various methods for achieving adaptive UI.
- **Version adaptive code:** This sample shows how to write version adaptive code so that the app can run on previous versions of Windows while also using the latest capabilities on the most recent verison of Windows.

**Note** The Xaml Controls Gallery requires [Visual Studio 2017](http://go.microsoft.com/fwlink/?LinkID=532422) to build and Windows 10 to execute.
To obtain information about Windows 10 development, go to the [Windows Dev Center](http://go.microsoft.com/fwlink/?LinkID=532421)
## Further information

>**Note**: The Xaml Controls Gallery requires Visual Studio [2017](http://go.microsoft.com/fwlink/?LinkID=532422) or [2019](https://visualstudio.microsoft.com/vs/) to build and Windows 10 to execute.

To obtain information about Windows 10 development, go to the [Windows Dev Center](https://developer.microsoft.com/windows)

To obtain information about Microsoft Visual Studio and the tools for developing Windows apps, go to [Visual Studio](http://go.microsoft.com/fwlink/?LinkID=532422)

To contact the authors, please reach out to ControlsGallery@microsoft.com
## 🐞 Found a bug? Want a new sample?

## Related topics
If you find a bug **within the Xaml Controls Gallery** or want to request a new sample, please [file an issue](https://github.com/microsoft/Xaml-Controls-Gallery/issues/new/choose).

If you find a bug **within your app (not in the Xaml Controls Gallery)** and need help, please [file an issue on the WinUI repo](https://github.com/microsoft/microsoft-ui-xaml/issues/new/choose).

[XAML app UI, start to finish](http://msdn.microsoft.com/library/windows/apps/dn263191.aspx)

Each control page in the application has links to the relevant MSDN documentation for that control.
## Related topics

[Get started with Windows 10 apps](https://docs.microsoft.com/windows/uwp/get-started/)

[Install a prebuilt version of this sample](https://www.microsoft.com/store/productId/9MSVH128X2ZT).
[Install a prebuilt version of this app from Microsoft Store](https://www.microsoft.com/store/productId/9MSVH128X2ZT). Each control page in the application has links to relevant Microsoft Docs for that control.

[Windows UI Library (WinUI)](https://docs.microsoft.com/en-us/uwp/toolkits/winui/)
[Windows UI Library (WinUI)](https://docs.microsoft.com/uwp/toolkits/winui/)

## Related samples

[RSS reader sample](https://github.com/Microsoft/Windows-appsample-rssreader)
[Lunch Scheduler app sample](https://github.com/Microsoft/Windows-appsample-lunch-scheduler)
[Customers Orders Database sample](https://github.com/Microsoft/Windows-appsample-customers-orders-database)
[Universal Windows Platform (UWP) Samples](https://github.com/Microsoft/Windows-universal-samples/tree/dev)
[Universal Windows Platform (UWP) Samples](https://github.com/Microsoft/Windows-universal-samples/tree/dev)
Binary file modified README_Images/XamlGalleryLanding.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion SharedContent/cs/Default.rd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<TypeInstantiation Name="App1.AppClass" Arguments="System.Int32" Activate="Required Public" />

Using the Namespace directive to apply reflection policy to all the types in a particular namespace
<Namespace Name="DataClasses.ViewModels" Seralize="All" />
<Namespace Name="DataClasses.ViewModels" Serialize="All" />
-->

<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
Expand Down
95 changes: 95 additions & 0 deletions UITests/Button.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
//******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************

using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Appium.Windows;
using System.Threading;

namespace UITests
{
[TestClass]
public class Button : Test_Base
{
private static WindowsElement buttonElement = null;

[ClassInitialize]
public static void ClassInitialize(TestContext context)
{
Setup(context);
var buttonTab = session.FindElementByName("Basic Input");
buttonTab.Click();
var button = session.FindElementByName("Button");
button.Click();
buttonElement = session.FindElementByAccessibilityId("Button1");
Assert.IsNotNull(buttonElement);
Thread.Sleep(3000);
}

[ClassCleanup]
public static void ClassCleanup()
{
TearDown();
}

[TestMethod]
public void Button_Click()
{

var buttonEventOutput = session.FindElementByAccessibilityId("Control1Output");
Assert.AreEqual(string.Empty, buttonEventOutput.Text);

buttonElement.Click();

Assert.AreEqual("You clicked: Button1", buttonEventOutput.Text);
}

[TestMethod]
public void Displayed()
{
Assert.IsTrue(buttonElement.Displayed);
}

[TestMethod]
public void Enabled()
{
var disableButtonCheckbox = session.FindElementByAccessibilityId("DisableButton1");
Assert.IsTrue(buttonElement.Enabled);
disableButtonCheckbox.Click();
Assert.IsFalse(buttonElement.Enabled);
disableButtonCheckbox.Click();
Assert.IsTrue(buttonElement.Enabled);
}

[TestMethod]
public void Name()
{
Assert.AreEqual("ControlType.Button", buttonElement.TagName);
}

[TestMethod]
public void Size()
{
Assert.IsTrue(buttonElement.Size.Width > 0);
Assert.IsTrue(buttonElement.Size.Height > 0);
}

[TestMethod]
public void Text()
{
Assert.AreEqual("Button", buttonElement.Text);
}
}
}
126 changes: 126 additions & 0 deletions UITests/CheckBox.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
//******************************************************************************
//
// Copyright (c) 2016 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************

using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium.Appium.Windows;
using System.Threading;

namespace UITests
{
[TestClass]
public class CheckBox : Test_Base
{
private static WindowsElement checkBoxElement1 = null;
private static WindowsElement checkBoxElement2 = null;

[ClassInitialize]
public static void ClassInitialize(TestContext context)
{
Setup(context);
var buttonTab = session.FindElementByName("Basic Input");
buttonTab.Click();
var button = session.FindElementByName("CheckBox");
button.Click();
Thread.Sleep(1000);
checkBoxElement1 = session.FindElementByName("Two-state CheckBox");
checkBoxElement2 = session.FindElementByName("Three-state CheckBox");
Assert.IsNotNull(checkBoxElement2);
}

[ClassCleanup]
public static void ClassCleanup()
{
TearDown();
}

[TestMethod]
public void Click()
{
var checkBoxEventOutput = session.FindElementByAccessibilityId("Control2Output");
Assert.AreEqual(string.Empty, checkBoxEventOutput.Text);

checkBoxElement2.Click();
Assert.AreEqual("CheckBox is checked.", checkBoxEventOutput.Text);

checkBoxElement2.Click();
Assert.AreEqual("CheckBox state is indeterminate.", checkBoxEventOutput.Text);

checkBoxElement2.Click();
Assert.AreEqual("CheckBox is unchecked.", checkBoxEventOutput.Text);
}

[TestMethod]
public void Displayed()
{
Assert.IsTrue(checkBoxElement1.Displayed);
Assert.IsTrue(checkBoxElement2.Displayed);
}

[TestMethod]
public void Enabled()
{
Assert.IsTrue(checkBoxElement1.Enabled);
Assert.IsTrue(checkBoxElement2.Enabled);
}

[TestMethod]
public void Location()
{
Assert.IsTrue(checkBoxElement2.Location.X >= checkBoxElement1.Location.X);
Assert.IsTrue(checkBoxElement2.Location.Y >= checkBoxElement1.Location.Y);
}

[TestMethod]
public void LocationInView()
{
Assert.IsTrue(checkBoxElement2.LocationOnScreenOnceScrolledIntoView.X >= checkBoxElement1.LocationOnScreenOnceScrolledIntoView.X);
Assert.IsTrue(checkBoxElement2.LocationOnScreenOnceScrolledIntoView.Y >= checkBoxElement1.LocationOnScreenOnceScrolledIntoView.Y);
}

[TestMethod]
public void Name()
{
Assert.AreEqual("ControlType.CheckBox", checkBoxElement1.TagName);
Assert.AreEqual("ControlType.CheckBox", checkBoxElement2.TagName);
}

[TestMethod]
public void Selected()
{
var originalState = checkBoxElement1.Selected;
checkBoxElement1.Click();
Assert.AreNotEqual(originalState, checkBoxElement1.Selected);
checkBoxElement1.Click();
Assert.AreEqual(originalState, checkBoxElement1.Selected);
}

[TestMethod]
public void Size()
{
Assert.IsTrue(checkBoxElement1.Size.Width > 0);
Assert.IsTrue(checkBoxElement1.Size.Height > 0);
Assert.IsTrue(checkBoxElement1.Size.Width <= checkBoxElement2.Size.Width);
Assert.AreEqual(checkBoxElement1.Size.Height, checkBoxElement2.Size.Height);
}

[TestMethod]
public void Text()
{
Assert.AreEqual("Two-state CheckBox", checkBoxElement1.Text);
Assert.AreEqual("Three-state CheckBox", checkBoxElement2.Text);
}
}
}
Loading