Граф коммитов

3207 Коммитов

Автор SHA1 Сообщение Дата
Joshua Askharoun 66274ca19e Added AppBarSplitButtonStyle; Added contextual tab to sample; Pass Visibility to TabbedCommandBarItems; Switched TabbedCommandBarItem.Header to type Object 2021-02-07 19:34:54 -06:00
Rosario Pulella 1293b2c0ee
Include Controls.Input in Tests and Sample App proejcts 2021-02-04 14:07:08 -05:00
Rosario Pulella c2a56eabf4
Sample: update CodeUrl props in samples.json 2021-02-02 14:43:18 -05:00
Yoshi Askharoun 308f067199
Merge branch 'master' into feature/tabbedcommandbar 2021-02-01 09:17:15 -06:00
Ratish Philip 2f6f192b1b Merge branch 'feature/win2dparser' of https://github.com/ratishphilip/WindowsCommunityToolkit into feature/win2dparser 2021-01-30 07:58:04 -08:00
Ratish Philip 3e55f52c9a Sample app now switches to Commands List pivot item to show the parsing error. 2021-01-30 07:57:40 -08:00
Andrew Leader 6d4d290acb Merge branch 'master' into aleader/notif-api-consistency 2021-01-29 10:26:14 -08:00
Ratish Philip 46d93c02a6
Merge branch 'master' into feature/win2dparser 2021-01-28 21:36:23 -08:00
Michael Hawker MSFT (XAML Llama) 2ed7e867b6
Merge branch 'dev/split-controls' into rename-controls-to-core 2021-01-28 15:51:38 -08:00
michael-hawker 50c7c6bfe1 Merge remote-tracking branch 'origin/master' into dev/split-controls 2021-01-28 15:51:03 -08:00
michael-hawker b664b23a83 Created a SystemSerializer to handle our primitive types within SystemInformation
Tested copying data from 6.1 Sample App and was able to read/resume file writes with this new serializer.
TODO: Update tests.
2021-01-27 16:24:04 -08:00
Andrew Leader 18f33db93d Update sample 2021-01-26 19:09:22 -08:00
Rosario Pulella fefbccd1aa
Merge branch 'dev/split-controls' into rename-controls-to-core 2021-01-26 16:20:13 -05:00
michael-hawker d09c667a0b Merge remote-tracking branch 'origin/master' into dev/split-controls 2021-01-26 13:16:21 -08:00
Joshua Askharoun 2f548674ad Change ComboBox in sample to use MinWidth 2021-01-22 10:48:54 -06:00
Vincent Gromfeld cffaa7f711 metadata control + sample app update 2021-01-22 17:47:55 +01:00
Ratish Philip e618fc74cc CanvasGeometry path parse error now more descriptive in the Sample App. 2021-01-22 08:22:40 -08:00
Rosario Pulella 831b0d5c6b
Smaples: Rename MasterDetailViewPage -> ListDetailsViewPage 2021-01-22 10:54:39 -05:00
Ratish Philip eb7d40de40 SampleApp.csproj build failure fix. 2021-01-21 20:30:19 -08:00
Ratish Philip 37a70eff87 Parsing CanvasGeometry on Input change. 2021-01-21 19:58:16 -08:00
Ratish Philip 530e722630
Merge branch 'master' into feature/win2dparser 2021-01-21 18:27:23 -08:00
Ratish Philip 30a5040d6f Removed logger from CanvasPathGeometry. Using ICanvasPathReceiver in SampleApp instead. 2021-01-21 18:22:27 -08:00
Rosario Pulella 2a5718ca58
Smaple: rename MasterDetailView folder to ListDetialView 2021-01-21 18:08:41 -05:00
Rosario Pulella a85f88069e
Sample: Ref ListDetailView 2021-01-21 18:02:41 -05:00
Rosario Pulella d422af71b0
Rename class: MasterDetailsView -> ListDetailsView 2021-01-21 17:36:59 -05:00
Michael Hawker MSFT (XAML Llama) de190e4a11
Merge branch 'master' into lazyLoadingThreshold 2021-01-21 13:34:47 -08:00
Michael Hawker MSFT (XAML Llama) 758d123628
Merge branch 'master' into feature/tabbedcommandbar 2021-01-21 13:31:07 -08:00
Rosario Pulella 41bb7e554f
Reanme controls package to controls.core 2021-01-21 16:20:09 -05:00
Rosario Pulella 704a3561f7
Move Controls to Controls.Core folder 2021-01-21 16:18:22 -05:00
michael-hawker f55f101ca2 Merge remote-tracking branch 'origin/master' into dev/split-controls
# Conflicts:
#	Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj
#	Microsoft.Toolkit.Uwp.SampleApp/Models/Sample.cs
#	Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj
#	Microsoft.Toolkit.Uwp.UI.Controls/Themes/Generic.xaml
#	SmokeTests/SmokeTests.proj
#	Windows Community Toolkit.sln
2021-01-21 13:00:32 -08:00
Sergio Pedri 86843c2784 Simplified namespace organization 2021-01-21 14:12:38 +01:00
Sergio Pedri 608b308a22 Fixed Offset sample page 2021-01-21 13:38:49 +01:00
Sergio Pedri 6196cdf328 Reverted accidental edit in Fade sample page
Going back from e5ee018adb
2021-01-21 13:32:02 +01:00
James Croft c544bb05a5
Merge branch 'master' into jamesmcroft/3506-carousel-automation 2021-01-21 07:39:51 +00:00
Michael Hawker MSFT (XAML Llama) 563eb214af
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/Animations/Effects/EffectAnimations.bind 2021-01-20 22:44:05 -08:00
Sergio Pedri 560648325b Updated Rotate sample page 2021-01-21 00:33:22 +01:00
Sergio Pedri f4c3579a89 Updated Scale sample page 2021-01-21 00:28:08 +01:00
Sergio Pedri 9ee094d9e1 Updated Saturation sample page 2021-01-21 00:16:31 +01:00
Sergio Pedri faaf5ed1cb Removed leftover files 2021-01-21 00:01:05 +01:00
Sergio Pedri 9c5fd3e8b1 Updated Offset sample page 2021-01-21 00:00:49 +01:00
Sergio Pedri e6b1c5f6a3 Removed Light sample (for now) 2021-01-20 23:50:48 +01:00
Sergio Pedri cd67f1dd89 Removed leftover files 2021-01-20 23:50:26 +01:00
Sergio Pedri b4db2f05ea Fixed some C# sample pages 2021-01-20 23:45:30 +01:00
Sergio Pedri e5ee018adb Updated Blur sample page 2021-01-20 23:43:54 +01:00
Sergio Pedri 10a02d7e84 Fixed an error in the Effects/Fade sample page 2021-01-20 22:05:36 +01:00
Rosario Pulella aed5068fe3
TEMP: Remove usages of graph controls 2021-01-20 13:13:03 -05:00
Rosario Pulella 5a987f9929
Merge branch 'dev/split-controls' into split-media 2021-01-20 10:57:50 -05:00
h82258652 cef75d19d7
Merge branch 'master' into lazyLoadingThreshold 2021-01-20 09:14:12 +08:00
Sergio Pedri 4a7436aa6e Fixed sample page for effect animations 2021-01-20 02:12:23 +01:00
Sergio Pedri ffc309a5ee
Merge branch 'dev/new-animations' into feature/animation-apis-revamp 2021-01-20 00:17:16 +01:00
michael-hawker 70de6df1a0 Merge remote-tracking branch 'origin/master' into dev/split-controls 2021-01-19 15:05:24 -08:00
michael-hawker 86bd2d1502 Merge remote-tracking branch 'origin/master' into dev/new-animations 2021-01-19 15:04:41 -08:00
Ratish Philip 8a195a1b1a
Merge branch 'master' into feature/win2dparser 2021-01-19 14:02:48 -08:00
michael-hawker d77fa46ee8 Fixes #3673 and resolves issues with some samples not working correctly 2021-01-19 12:25:12 -08:00
Ratish Philip 31eeae1cc2 Implemented Xamllama's severl code review comments. 2021-01-18 08:52:23 -08:00
Sergio Pedri 3ccaf64a7f Fixed the PipelineBrush sample page 2021-01-17 19:58:31 +01:00
Sergio Pedri 4fdecd75c1 Added sample page for VisualEffectFactory 2021-01-17 19:56:52 +01:00
Sergio Pedri 4a48c828a5 Added effect animations sample page (WIP) 2021-01-17 19:37:25 +01:00
Sergio Pedri a3e3ffff08 Tweaked some namespaces 2021-01-17 19:37:06 +01:00
James Croft 7c8c126994
Merge branch 'master' into jamesmcroft/3506-carousel-automation 2021-01-17 12:36:52 +00:00
Michael Hawker MSFT (XAML Llama) 21c4fb585a
Merge branch 'master' into lazyLoadingThreshold 2021-01-14 13:51:44 -08:00
Rosario Pulella b85d0ddea6
Merge branch 'dev/split-controls' into split-media 2021-01-14 10:06:43 -05:00
Rosario Pulella c763049162
WIP: move Eyedropper, ImageCropper, InfiniteCanvas
to Microsoft.Toolkit.Uwp.UI.Controls.Media
Issue: coped ControlHelpers.XamlHost.cs Controls -> Controls.Media
2021-01-12 16:13:24 -05:00
michael-hawker 9e4f4bc3b9 Add InvokeActionsActivity to Behaviors Package and Sample 2021-01-08 12:18:35 -08:00
Rosario Pulella b6bc173b4b
Revert "Update Primiative controls ns"
This reverts commit e885c1014d.
2021-01-08 14:06:10 -05:00
michael-hawker b8e1eed561 Merge branch 'dev/new-animations' into feature/animation-apis-revamp
# Conflicts:
#	Microsoft.Toolkit.Uwp.UI.Animations/CompositionAnimations/Animations/AnimationBase.cs
#	Microsoft.Toolkit.Uwp.UI.Animations/CompositionAnimations/KeyFrames/KeyFrame.cs
#	Microsoft.Toolkit.Uwp.UI.Animations/Extensions/AnimationTools.cs
2021-01-08 10:39:56 -08:00
michael-hawker 671939cd44 Merge branch 'master' into dev/new-animations
# Conflicts:
#	Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj
#	Microsoft.Toolkit.Uwp.UI.Controls/ScrollHeader/ScrollHeader.cs (Removed)
2021-01-08 10:24:57 -08:00
Rosario Pulella e885c1014d
Update Primiative controls ns 2021-01-08 11:51:57 -05:00
Rosario Pulella 6956c733fa
Move some controls to Primitives. 2021-01-08 11:38:02 -05:00
Yoshi Askharoun 134d14e93d Merge branch 'master' into pr/3556 2021-01-07 19:33:51 -06:00
Yoshi Askharoun ccd7f0b083 Added IsContextual and OverflowButtonAlignment properties 2021-01-07 11:21:57 -06:00
Ratish Philip 7360ed979e
Merge branch 'master' into feature/win2dparser 2021-01-06 19:33:25 -08:00
Rosario Pulella df7497c306
Remove unneeded refs to System.Text.Json 2021-01-05 16:20:31 -05:00
Ratish Philip 874579c43f
Merge branch 'master' into feature/win2dparser 2021-01-02 19:38:47 -08:00
michael-hawker acd7d87dba Add Activity and StartAnimationActivity 2021-01-02 15:35:02 -08:00
michael-hawker 40f699ec36 Fix issues preventing Sample App to build with Namespace Changes 2021-01-02 15:35:01 -08:00
michael-hawker f1372781ac Update Fade Behavior Example for new Animations 2021-01-02 15:35:01 -08:00
Michael Hawker MSFT (XAML Llama) 700364b89c
Merge branch 'dev/new-animations' into feature/animation-apis-revamp 2021-01-02 15:34:11 -08:00
michael-hawker 0d502fef58 Merge remote-tracking branch 'origin/master' into dev/new-animations 2021-01-02 15:30:53 -08:00
michael-hawker 633ceef5fa Type property is now optional for Samples
This allows us to more easily create XAML Only samples and load them more efficiently.
Removed Dummy Pages for State Triggers as a Test
2020-12-30 16:20:03 -08:00
Sergio Pedri cedbbf73b0 Moved the ScrollViewer expression animation extensions 2020-12-28 00:32:54 +01:00
Sergio Pedri 9903609c7b Replaced Blur behaviors with visual factory APIs 2020-12-27 19:35:12 +01:00
Sergio Pedri 3568ed7c98 Renamed ReorderGridAnimation sample page files 2020-12-27 14:18:16 +01:00
Sergio Pedri bbe37de0aa Fixed ItemsReorderGridAnimation sample page 2020-12-27 14:08:09 +01:00
Sergio Pedri 8bad1409ce Updated sample app to use the updated APIs 🎉 2020-12-27 01:44:54 +01:00
michael-hawker 3362890824 Creating Microsoft.Toolkit.Uwp.UI.Behaviors
Removes ScrollHeader from the Controls Package
Updates Sample pages to use Behaviors instead from new Behaviors package
TODO/Broken:
- Animation Behaviors Currently don't have a home (still in folder structure of Animations, most likely removed for new approach using Behaviors directly w/ new Animation System)
- General Animation extensions removed (to be replaced with a new coordinated system)
- Blur/Saturation Effect extensions don't have a home (to move to Media package?)
- Sample App
  - Graph Control Samples (needs to be rebuilt with new Behaviors package)
  - ViewportBehavior Example (was using Blur Extension)
  - Re-apply Blur effect to the backgrounds in Shell.xaml as was using Behavior
2020-12-16 17:29:51 -08:00
Ratish Philip 7f8162ac92
Merge branch 'master' into feature/win2dparser 2020-12-16 11:22:25 -08:00
Ratish Philip 609e249f81 updated SampleApp.csproj file to resolve conflict 2020-12-16 11:21:52 -08:00
James Croft 951774d682
Merge branch 'master' into jamesmcroft/3506-carousel-automation 2020-12-07 19:17:35 +00:00
null-val c6648c6042 Merge branch 'master' of https://github.com/winston-de/WindowsCommunityToolkit 2020-12-04 13:36:07 -08:00
null-val 033cd45fe2 Updated dark theme color to #660000 2020-12-04 13:33:57 -08:00
Winston de Jong 379e431cf3
Merge branch 'master' into master 2020-12-04 12:19:05 -08:00
Sergio Pedri 92407a0fc3 Removed leftover DispatcherHelper usages 2020-12-03 20:18:36 +01:00
null-val 31db7704e4 Consolidated code 2020-11-29 19:15:34 -08:00
null-val 869dd4ff9e Added a theme listener, separate light/dark theme error styles, and property that returns the respective theme.
resolves #3545
2020-11-29 17:05:54 -08:00
Kyaa Dost 662e5010e2
Merge branch 'master' into jamesmcroft/3506-carousel-automation 2020-11-13 09:58:59 -08:00
h82258652 1600c7846d
Merge branch 'master' into lazyLoadingThreshold 2020-11-13 21:21:19 +08:00
Yoshi Askharoun 94c5f4f1dc
Merge branch 'master' into feature/tabbedcommandbar 2020-11-13 01:09:19 -06:00
James Croft c9825f1c8b Merge branch 'jamesmcroft/3506-carousel-automation' of https://github.com/windows-toolkit/WindowsCommunityToolkit into jamesmcroft/3506-carousel-automation 2020-11-11 20:26:46 +00:00
James Croft a706ca6913 Improved implementation for Carousel automation peer 2020-11-11 20:26:30 +00:00
Michael Hawker MSFT (XAML Llama) eca3eb6f14
Merge branch 'master' into improvement/dispatcher-queue-helper 2020-11-10 11:38:34 -08:00
h82258652 ad1c67845e
Merge branch 'master' into lazyLoadingThreshold 2020-11-10 20:05:48 +08:00
Kyaa Dost aa6e892281
Merge branch 'master' into aleader/notifications-registry 2020-11-09 15:50:50 -08:00
Kyaa Dost eb61e6d212
Apply suggestions from code review 2020-11-09 14:43:50 -08:00
Michael Hawker MSFT (XAML Llama) 3b5dfa7064
Merge branch 'master' into aleader/notifications-registry 2020-11-09 14:39:02 -08:00
Michael Hawker MSFT (XAML Llama) 55944ef7b5
Merge branch 'master' into robloo/reimagined-color-picker 2020-11-09 13:35:03 -08:00
Sergio Pedri bd033e8cf8
Merge branch 'master' into improvement/dispatcher-queue-helper 2020-11-09 12:28:26 +01:00
robloo 5a05f83d79 Merge branch 'master' into robloo/reimagined-color-picker 2020-11-08 22:31:46 -05:00
robloo 4064179663 Move ColorPickerSlider foreground/background calculation into the control itself
* Simplifies template by moving logic for foreground calulation into the slider itself
* Switches the sliders to work entirely within HSV which means its background stops turning red when you get to a minimum value
* Exposes properties to fix the Saturation/Value and Alpha channels at maximum when calculating backgrounds
* Moves slider into Primitives namespace
2020-11-08 22:25:17 -05:00
Matt Lacey 3c375186a5 Stop the Smaple app needing to be rebuilt even when nothing has changed
For #3332
2020-11-07 18:55:47 +00:00
YoshiAsk f14dd7ef0d Fix styles and animations, allow overriding of default styles 2020-11-06 20:35:38 -06:00
Andrew Leader 5c8fc1b970 ToastButton builders 2020-11-06 16:11:15 -08:00
YoshiAsk 4d8e9bf6b1 Switch TabbedCommandBar to be a NavigationView 2020-11-06 13:05:15 -06:00
YoshiAsk a65b0a7120 Added basic sample 2020-11-06 12:18:08 -06:00
Andrew Leader 89ed383f5d Add back top level action type in samples 2020-11-05 18:50:28 -08:00
h82258652 fb40d85cc1
Merge branch 'master' into lazyLoadingThreshold 2020-11-06 08:47:41 +08:00
Andrew Leader f9045dee9a Simplified generic toast arguments 2020-11-05 15:12:32 -08:00
Andrew Leader 3d96ba156d
Merge branch 'master' into aleader/notifications-registry 2020-10-30 11:25:02 -06:00
Andrew Leader 02ff3a88a9 Fixed bug in TileBuilder small tile content
The enum flags were incorrectly specified such that when adding content to Medium/Wide/Large tiles, it also added the content to small tiles, which was resulting in the small weather tile not appearing correctly.

Note that the small weather tile preview is still missing the temperature (must be bug in NotificationsVisualizerLibrary), but when pinned to Start it looks correct!
2020-10-30 11:21:41 -06:00
Andrew Leader e8f8d70ff9 Update toast samples to use ToastArguments 2020-10-30 10:20:56 -06:00
Vincent 20d95c1258
Merge branch 'master' into wrapPanel.verticalAlignment 2020-10-29 09:50:39 +01:00
Andrew Leader 62bc118f23 Merge branch 'master' into aleader/notifications-registry 2020-10-28 21:02:13 -06:00
Michael Hawker MSFT (XAML Llama) b353c78252
Update sample app readme to point to Wiki. 2020-10-28 16:53:42 -07:00
michael-hawker ea75c8a11f Add in ColorPickerButton again to Codebase 2020-10-27 15:38:44 -07:00
h82258652 c94aaa0cf1
Merge branch 'master' into lazyLoadingThreshold 2020-10-25 13:14:35 +08:00
Vincent 792bc93682
Merge branch 'master' into wrapPanel.verticalAlignment 2020-10-23 12:27:56 +02:00
michael-hawker 3da0975e11 Add SwitchPresenter control (first-pass)
Made SwitchPresenter inherit from ContentPresenter directly
Updated ColorPicker to use ListBox+SwitchPresenter vs. Pivot
Split out Styles
Removed conditional CornerRadius

TODO:
- [ ] See if 'Parent' can be removed from SwitchPresenter
- [ ] Add margins/padding back to content within SwitchPresenter for each 'tab' of the Color Picker
2020-10-21 18:57:33 -07:00
michael-hawker 981b2881d1 Merge remote-tracking branch 'origin/master' into mhawker/color-picker-responsive
# Conflicts:
#	Microsoft.Toolkit.Uwp.SampleApp/Microsoft.Toolkit.Uwp.SampleApp.csproj
#	Microsoft.Toolkit.Uwp.UI.Controls/Microsoft.Toolkit.Uwp.UI.Controls.csproj
2020-10-20 13:30:12 -07:00
Rosario Pulella 8876688b38
Merge branch 'master' into aleader/notifications-registry 2020-10-15 15:14:02 -04:00
Ratish Philip 36c56174ee
Merge branch 'master' into feature/win2dparser 2020-10-15 11:11:22 -07:00
Vincent Gromfeld 1952e16977 Merge remote-tracking branch 'origin/master' into wrapPanel.verticalAlignment 2020-10-06 10:14:48 +02:00
Andrew Leader 389c6e1443
Merge branch 'master' into aleader/notifications-registry 2020-10-04 21:16:16 -07:00
Alexandre Zollinger Chohfi 19722d8e98 Merge branch 'master' into gazeCS 2020-09-29 10:24:53 -07:00
Ratish Philip 298d22ffed
Merge branch 'master' into feature/win2dparser 2020-09-28 22:14:09 -07:00
Marcel Wagner 387164cad2 Update formatting 2020-09-28 21:37:44 +02:00
Marcel Wagner dc9495d351 Do some stuff... 2020-09-28 20:08:48 +02:00
Ratish Philip cec5bd67a5 Added the Win2d Path Geometry parser. 2020-09-26 09:24:08 -07:00
Andrew Leader 0b65a73b30 Merge branch 'master' into aleader/notifications-registry 2020-09-24 10:02:07 -07:00
Sergio Pedri 83d84753b4 Code refactoring, improved XML docs 2020-09-23 01:01:23 +02:00
Sergio Pedri 09977702ea Renamed DispatcherQueueHelper APIs 2020-09-23 00:50:56 +02:00
michael-hawker 37639f8738 Fix null exception crash when removing button from Gaze sample page 2020-09-22 15:20:39 -07:00
michael-hawker 5e4f30e784 Add text for Gaze sample Button to make it easier to focus on. 2020-09-22 14:17:05 -07:00
Alexandre Zollinger Chohfi 3a9c26d505 Merge branch 'master' into gazeCS
# Conflicts:
#	Microsoft.Toolkit.Uwp.Input.GazeInteraction/Microsoft.Toolkit.UWP.Input.GazeInteraction.vcxproj
#	UnitTests/UnitTests.XamlIslands/UnitTests.XamlIslands.csproj
#	Windows Community Toolkit.sln
2020-09-22 11:08:44 -07:00
Alexandre Zollinger Chohfi ae92e24d21
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ImageEx/ImageExPage.xaml.cs
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-09-22 08:58:27 -07:00
Alexandre Zollinger Chohfi 58fcd8b970
Merge branch 'master' into updateSdks 2020-09-22 08:57:13 -07:00
Vincent 5ecf80687d
Merge branch 'master' into wrapPanel.verticalAlignment 2020-09-22 10:02:15 +02:00
Sergio Pedri ea2dd57d3e Minor UI tweaks 2020-09-22 01:43:21 +02:00
Sergio Pedri e02308b2f7 Switched to AcrylicBrush in all loading samples 2020-09-22 01:24:10 +02:00
Sergio Pedri 232e5dabde Fixed incorrect blur in loading sample 2020-09-21 16:45:44 +02:00
h82258652 8dfc8e3477 Add lazy loading threshold 2020-09-18 12:39:10 +08:00
Alexandre Zollinger Chohfi 4c2204974a Small PR feedback. 2020-09-17 12:25:54 -07:00
Alexandre Zollinger Chohfi ad307c2db6 Small fixes for the notifications lib, targetting a new SDK. 2020-09-17 12:22:51 -07:00
Michael Hawker MSFT (XAML Llama) 4e81ec72e6
Merge branch 'master' into updateSdks 2020-09-17 08:11:06 -07:00
Alexandre Zollinger Chohfi bc141e152a Updated min and target SDKs and removed redundant conditional execution paths.
Removed any WinJS reference.
2020-09-16 17:29:14 -07:00
Michael Hawker MSFT (XAML Llama) 4ad2a12c07
Merge branch 'master' into mhawker/localization-override-fix 2020-09-16 16:27:35 -07:00
Alexandre Zollinger Chohfi ddd70aab84
Merge branch 'master' into gazeCS 2020-09-16 11:31:58 -07:00
michael-hawker 568da681a2 Merge remote-tracking branch 'origin/master' into mhawker/localization-override-fix 2020-09-15 14:19:55 -07:00
Alexandre Zollinger Chohfi f49bf8305b Merge branch 'master' into gazeCS 2020-09-15 10:17:56 -07:00
Vincent 06c1763cff
Merge branch 'master' into wrapPanel.verticalAlignment 2020-09-15 09:03:08 +02:00
Rosario Pulella 11daa4fcce Merge branch 'master' into removeNewtonsoftJson 2020-09-14 12:24:38 -04:00
Vincent Gromfeld 97b9dba98e removed custom DP 2020-09-14 11:14:45 +02:00
Vincent Gromfeld ff80d0f50d remove min width/height 2020-09-11 17:21:11 +02:00
Vincent Gromfeld 45a290c507 add horizontal alignment support 2020-09-11 16:25:30 +02:00
Vincent Gromfeld 471504b276 optimized code + updated sample 2020-09-11 14:46:14 +02:00
Michael Hawker MSFT (XAML Llama) 222f93cd79
Merge branch 'master' into mhawker/localization-override-fix 2020-09-10 16:45:06 -07:00
Alexandre Zollinger Chohfi 9eb3de7b6b
Merge branch 'master' into removeObsolete7 2020-09-10 10:39:18 -07:00
Alexandre Zollinger Chohfi 83fe4dd9df
Merge branch 'master' into gazeCS 2020-09-10 09:56:20 -07:00
Michael Hawker MSFT (XAML Llama) 622c186012
Merge branch 'master' into splitMarkdown 2020-09-10 09:26:12 -07:00
Michael Hawker MSFT (XAML Llama) 64cb2dd8c6
Merge branch 'master' into mhawker/localization-override-fix 2020-09-09 09:07:49 -07:00
michael-hawker 94d6e6fed7 Fix Unit Test for Localization in Release Mode
Also fixed a missed rename from a Debug/Release #ifdef
2020-09-08 14:06:20 -07:00
michael-hawker 7b1fef8caf Initial Refactor of ColorPickerButton to ColorPicker
Need to clean things up a bit more and having issues with Pivot, added notes to original PR
2020-09-03 14:41:17 -07:00
Andrew Leader a57ba761dc Merge branch 'aleader/notifications-registry' of https://github.com/windows-toolkit/WindowsCommunityToolkit into aleader/notifications-registry 2020-09-03 12:42:56 -07:00
Andrew Leader c87a37160d Fix ToastCode.bind 2020-09-03 12:42:50 -07:00
Alexandre Zollinger Chohfi 644f3079c0
Merge branch 'master' into aleader/notifications-registry 2020-09-03 12:30:30 -07:00
Andrew Leader 0cc87d1343 Update sample app samples 2020-09-03 10:51:26 -07:00
Vincent Gromfeld 8f168365de timeout is now a DP and removed unused method 2020-09-03 09:01:13 +02:00
Vincent Gromfeld 516914ff1a changed xaml code to code to avoid crash 2020-09-02 15:44:25 +02:00
Vincent Gromfeld 92b7a2c989 cleaned csproj 2020-09-02 15:28:25 +02:00
Vincent Gromfeld 8607b79e98 add focus behaviors 2020-09-02 15:26:36 +02:00
Andrew Leader d7cf313b54 Merge branch 'master' into aleader/notifications-registry 2020-09-01 09:18:26 -07:00
Andrew Leader 4363829c26 Use Compat API 2020-08-28 14:58:44 -07:00
Alexandre Zollinger Chohfi 7dae4ea004 Merge branch 'master' into removeNewtonsoftJson 2020-08-24 11:55:15 -07:00
Alexandre Zollinger Chohfi 7dc87f3d2a Merge branch 'master' into splitMarkdown 2020-08-24 11:54:03 -07:00
Alexandre Zollinger Chohfi ba60fb87ee Merge branch 'master' into removeObsolete7 2020-08-24 11:43:07 -07:00
Alexandre Zollinger Chohfi 2a1ab20889 Merge branch 'master' into gazeCS 2020-08-24 11:20:53 -07:00
Alexandre Zollinger Chohfi 2a73240dcd
Update Microsoft.Toolkit.Uwp.SampleApp/readme.md 2020-08-20 17:19:30 -07:00
Alexandre Zollinger Chohfi 24c2da528f Removed RSS parsers. 2020-08-20 14:08:18 -07:00
Alexandre Zollinger Chohfi 75da45cb65 Removed TabView/TabViewItem, HeaderedTextBlock, and some other smaller methods marked as Obsolete. 2020-08-19 19:46:18 -07:00
Alexandre Zollinger Chohfi 62145a0254 Revert "Removed TabView/TabViewItem, HeaderedTextBlock, LightBehavior/AnimationExtensions.Light, and some other smaller methods marked as Obsolete."
This reverts commit 274492be97.
2020-08-19 19:32:08 -07:00
Alexandre Zollinger Chohfi 32f36c84a3 Replaced ToolbarFormatterActiveConverter to a generic TypeToObjectConverter. 2020-08-19 19:27:27 -07:00
Alexandre Zollinger Chohfi c80e1544e9 Applied PR feedback. 2020-08-19 17:06:15 -07:00
Alexandre Zollinger Chohfi 16d8ac080a
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TextToolbar/TextToolbarPage.xaml.cs
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-08-19 16:29:03 -07:00
Alexandre Zollinger Chohfi f9995415d2
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TextToolbar/TextToolbarPage.xaml.cs
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-08-19 16:28:48 -07:00
Alexandre Zollinger Chohfi 5b7d04b70d Remove Toolkit Platform Analyzers (fixes #3396). 2020-08-18 16:33:24 -07:00
Alexandre Zollinger Chohfi 834531c382 Added 2 extra commands for each Formatter of TextToolbar. 2020-08-18 16:27:29 -07:00
Alexandre Zollinger Chohfi 323cfd7b63 Created a new Microsoft.Toolkit.Uwp.UI.Controls.Markdown package, moving the MarkdownTextBlock from the Controls package and decoupling the TextToolbar from the MarkDownFormatter. 2020-08-17 18:20:46 -07:00
Alexandre Zollinger Chohfi 7921fa74da Removed deprecated FacebookService, and the Microsoft.Toolkit.Uwp.Services project. 2020-08-17 11:55:03 -07:00
Herrick Spencer c876f6113a Massive spelling fixes 2020-08-17 10:25:41 -07:00
Alexandre Zollinger Chohfi 274492be97 Removed TabView/TabViewItem, HeaderedTextBlock, LightBehavior/AnimationExtensions.Light, and some other smaller methods marked as Obsolete. 2020-08-14 15:30:25 -07:00
Alexandre Zollinger Chohfi 5328178722 Merge branch 'master' into removeNewtonsoftJson 2020-08-13 12:32:41 -07:00
Alexandre Zollinger Chohfi 910de59d76 Converted GazeInteraction project for C++ to C#. 2020-08-12 20:02:46 -07:00
Alexandre Zollinger Chohfi dd7a3b310a
Merge branch 'master' into moreSpelling 2020-08-11 10:11:32 -07:00
Alexandre Zollinger Chohfi e552564fda
Merge branch 'master' into removeNewtonsoftJson 2020-08-07 17:28:10 -07:00
Alexandre Zollinger Chohfi 467b1733f3 Replace Newtonsoft.Json with the new .Net JsonSerializer. 2020-08-06 17:56:22 -07:00
Kyaa Dost cc0aaf1ae1
Update readme.md 2020-08-06 14:27:57 -07:00
Simon Cropp ee7fa94088 fix some spelling 2020-08-04 09:47:21 +10:00
robloo e4a45df47d Ensure ColorPickerButton/Slider don't get optimized away by .NET native 2020-08-03 15:37:20 -04:00
Simon Cropp 221b615de6 more spelling 2020-08-02 19:36:09 +10:00
Simon Cropp 73c52f9a8c fix some spelling 2020-08-02 19:18:48 +10:00
robloo 1178c7e6b0 Update sample app page design 2020-08-01 20:02:28 -04:00
Michael Hawker MSFT (XAML Llama) 76e9a1dfee
Merge branch 'master' into inAppNotification.removeLock 2020-07-20 17:10:48 -07:00
robloo 676433039c Fix SampleApp.csproj after merge 2020-07-19 15:23:08 -04:00
robloo 664dbe4b36 Merge branch 'master' into robloo/reimagined-color-picker 2020-07-19 15:05:19 -04:00
robloo 0cc1db077e Update sample app XAML 2020-07-19 14:49:55 -04:00
robloo 4d6f9d507e Update SampleApp XAML for ColorPickerButton 2020-07-06 22:19:31 -04:00
robloo 49c3ff9b56 Add SampleApp XAML for ColorPickerButton 2020-07-06 22:08:26 -04:00
robloo 1fe4104a0f Add ColorPickerButton icon and description 2020-07-05 22:21:30 -04:00
robloo d51bbc8011 Add the ColorPickerButton to SampleApp
Added just to be functional. Requires further work.
2020-07-05 15:48:37 -04:00
Vincent Gromfeld 7acb5867e5 Update code sample 2020-07-02 09:33:37 +02:00
Vincent Gromfeld 3916d5a62b add show(object) 2020-06-29 16:43:42 +02:00
Vincent Gromfeld cdf0d09780 remove locks 2020-06-29 14:17:47 +02:00
Sergio Pedri 15cecd4b9e Removed empty ItemGroup from sample app .csproj 2020-06-26 12:27:12 +02:00
Sergio Pedri 41065bcfd7 Added second sample with a converter 2020-06-25 21:36:09 +02:00
Sergio Pedri 22792007da Added initial sample with direct enum display 2020-06-25 21:19:24 +02:00
Sergio Pedri 6d85170b7c Added empty EnumValuesExtensionPage setup 2020-06-25 21:08:40 +02:00
Alexandre Zollinger Chohfi 1070cee1ce Xaml Islands Fixes for FocusManager.GetFocusedElement and ContentDialog's XamlRoot. 2020-06-16 10:57:09 -07:00
Alexandre Zollinger Chohfi 576703794a Merge branch 'master' into dev/7.0.0 2020-06-15 15:35:01 -07:00
Alexandre Zollinger Chohfi 5363919fae Merge branch 'master' into dev/7.0.0 2020-06-11 16:24:10 -07:00
michael-hawker db96b33eb4 Workaround for #3343
Need to remove the enum binding for now so that it's not misleading, need to investigate why this is happening only with the system based enum.
2020-06-11 16:01:48 -07:00
Marcus Perryman aa33eaff2f fixup the names in the email list 2020-06-10 17:52:41 +01:00
michael-hawker 7231426a81 Sample App - Update Version to 6.1.0, What's New, and Landing Page Links 2020-06-09 16:24:28 -07:00
michael-hawker 04d05a6064 Update styling of TokenizingTextBox sample
Move shared template to a template in the resources for the sample
2020-06-09 14:20:54 -07:00
michael-hawker d8cc3ecbd4 Update TTB SymbolIconSource renamed Property 2020-06-09 13:23:14 -07:00
michael-hawker 085e315219 Fixes #3290 - ViewportBehavior Sample doesn't work in Release Mode 2020-06-09 13:18:32 -07:00
Michael Hawker MSFT (XAML Llama) ae1dfcb152
Merge branch 'master' into feature/bitmapiconsource-extension 2020-06-06 15:11:58 -07:00
Marcus Perryman 70ed20e10f
Fix crash with unbounded sizing for WrapLayout. (#3330)
* Fix crash with unbounded sizing for WrapLayout.
Also add some new stuff to the sample for easier manipulation.

* PR fixes

* Fix issues with Layout samples in Release Mode

Needed to use Visual helpers here, as apparently Logical ones work differently here in Release mode???

* Fix typo pointed out by @skendrot

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-06-06 08:46:16 +01:00
Sergio Pedri 0a77566c3d Aligned APIs to original UWP ones, fixed docs 2020-06-06 02:57:15 +02:00
Sergio Pedri ff85e5408f Added BitmapIconSource sample 2020-06-06 02:52:10 +02:00
Alexandre Zollinger Chohfi dbe0b054b7 Fix Sample app ARM64 Release compilation. 2020-06-05 11:48:55 -07:00
Alexandre Zollinger Chohfi 0913a8d8a6 Merge branch 'master' into dev/7.0.0 2020-06-05 10:56:08 -07:00
Marcus Perryman 0c1c155e47 simple fix for Release build 'warnings as errors' failure 2020-06-05 11:01:04 +01:00
Michael Hawker MSFT (XAML Llama) 66443b53f9
Merge branch 'master' into AdaptiveGridImprovements 2020-06-05 00:52:56 -07:00
Marcus Perryman b7d8a710ba
Marcpe/release build issues (#3324)
* fix for release build issues

* fix for the release build issue

* remove redundant fix

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-06-04 20:21:32 +01:00
Michael Hawker MSFT (XAML Llama) 6fe82dd679
Merge branch 'master' into AdaptiveGridImprovements 2020-06-03 23:10:24 -07:00
Alexandre Zollinger Chohfi 5f55e713cd
Merge branch 'master' into AdaptiveGridImprovements 2020-06-03 14:23:03 -07:00
michael-hawker d68b119705 Add TokenizingTextBox Workaround for IconSource FontSize Styling issue
Ref https://github.com/microsoft/microsoft-ui-xaml/issues/2568
Also added WPF TryFindResource method to LogicalTree helpers - thanks for review/assist @rudyhuyn
2020-06-03 01:06:56 -07:00
Alexandre Zollinger Chohfi a8dba804c0 Merge branch 'master' into dev/7.0.0 2020-06-02 12:45:14 -07:00
Michael Hawker MSFT (XAML Llama) 24c30edc9b
Merge branch 'master' into mhawker/ttb-style 2020-06-01 15:11:14 -07:00
Michael Hawker MSFT (XAML Llama) 5dd5ee2133
Suppress Warning about TabView in Sample Page
Related to #3315
2020-06-01 15:05:17 -07:00
Marcus Perryman c783d4c49b
Add Clear and selected text access functions. (#3312)
* Add Clear and selected text access functions.

Tidy the sample page

* Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TokenizingTextBox/TokenizingTextBoxCode.bind

* fix cr comment to allow a cancelled 'remove'request.
add a UT to check for it

* Fix issue with Clear not resetting the filter correctly

* fix release build checks

* address PR comments

* PR Comment fix

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-06-01 21:30:59 +01:00
michael-hawker 2dc5f4a17a Update message based on PR feedback 2020-05-30 01:21:56 -07:00
michael-hawker 49c6cb8562 Deprecate TabView, RadialGradientBrush, Singleton, FacebookService 2020-05-29 14:38:49 -07:00
Sergio Pedri 4610d8a033
ScrollViewer expression animations extensions (#3220)
* Removed unnecessary using directive

* Added ScrollViewer expression animation extensions

* Added VisualProperty option

* Added example to ScrollViewerExtensions sample page

* Minor code refactoring

* Added C# sample code

* Fixed XML docs for the ScrollViewerExtensions class

* Added more docs to the sample page

* Tweaked sample page a bit more

* Removed bounding boxes in sample page

* Fixed more XML docs

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-05-29 13:26:52 -07:00
Sergio Pedri 4591f917e7
Refactoring/Improvements based on Community Feedback to Pipeline Brushes (#3304)
* Added missing ContentProperty to BlendEffect

* Removed unnecessary placement parameter for cross fade

* Added CrossFadeEffect type

* Updated ShadeEffect default intensity value

* Inverted blend effect placement mode

* Added CrossFadeEffect to shallow copy page

* Improved XML docs

* Added clamping for XAML effects for Win2D

* Added auto clamping for AcrylicBrush tint opacity

* Clamped AcrylicBrush blur property for negative value

* Fixed default value for OpacityEffect

Co-authored-by: Alexandre Zollinger Chohfi <chohfi@outlook.com>

* Added ranges in XML docs for exposure effect

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
Co-authored-by: Alexandre Zollinger Chohfi <chohfi@outlook.com>
2020-05-29 12:38:41 -07:00
michael-hawker 0b9e8e51da Fix Style warning 2020-05-29 08:57:59 -07:00
michael-hawker c6f856d8cf Fix Issue with WinUI disrupting padding of TokenizingTextBox
Need to understand how to default icon size to the proper size in style, not sure if possible, may need to copy somehow instead?
2020-05-29 00:26:08 -07:00
Michael Hawker MSFT (XAML Llama) c381151b74
Merge branch 'master' into mhawker/winui-2.4 2020-05-28 19:50:49 -07:00
Michael Hawker MSFT (XAML Llama) a9cf939391
Merge branch 'master' into marcpe/TokenizeTextBox_polish 2020-05-28 15:45:25 -07:00
Michael Hawker MSFT (XAML Llama) 3c805aac53
Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/ListViewExtensions/ListViewExtensionsPage.xaml.cs
Tested removing this line, as duplicated logic, done through binding.
2020-05-28 13:31:29 -07:00
Michael Hawker MSFT (XAML Llama) 8b3fb4cb33
Merge branch 'master' into ListExtensionsCommand 2020-05-28 13:19:37 -07:00
Marcus Perryman a84ff325e7 Add a public way to access to the pretoken string items 2020-05-28 17:48:15 +01:00
Marcus Perryman dc2a6cdbb3 Merge remote-tracking branch 'origin/master' into marcpe/TokenizeTextBox_polish 2020-05-28 10:54:53 +01:00
michael-hawker 0eeffb4515 Put note on workaround for WinUI 2.4, leave code for prev/fix 2020-05-27 11:43:49 -07:00
michael-hawker 74d848723e Further update dependencies 2020-05-27 11:43:49 -07:00
michael-hawker 11762dd7b9 Initial Update for NavigationView Style in Sample App
Problem: NavigationViewList removed and replaced with ItemsRepeater
TODO: Selection not tracked properly by app, so menu isn't appearing underneath
Also: focus is grabbed from searchbox, so searching is difficult, but menu appears
2020-05-27 11:43:48 -07:00
Michael Hawker MSFT (XAML Llama) 07516d8b27
Merge branch 'master' into mhawker/dependency-update 2020-05-26 18:08:05 -07:00
Sergio Pedri ef37da01f1
PipelineBrush and effects refactoring (#3298)
* Code refactoring

* Code refactoring to Win2D effect mappings

* Minor refactoring

* Updated sample page XAML code

* More code refactoring

* Removed Abstract namespace, code refactoring

* Removed unnecessary async state machine

* Renamed IPipeline[Input|Node] interfaces

* Renamed input effects to source effects

* Refactored inputs to markup extensions

* Renamed some APIs for consistency

* More renames

* Simplified code, improved XML docs

* Fixed XML comment reference

* Set default backdrop source to backdrop

* Fixed incorrect property

* Renamed some parameter for consistency

Following the naming scheme from the WUX/MUX AcrylicBrush

* Updated PipelineBrush sample code

* Added default pipeline/blend sources

* Removed .Base namespace

Attempted workaround for "child node 2" build error

* Updated AcrylicBrush sample page
2020-05-26 18:04:21 -07:00
michael-hawker b91c16207e Add scroll host to Layout samples
Fix unused namespaces
2020-05-26 15:13:30 -07:00
michael-hawker 703333e909 Re-add StaggeredLayout sample file to the project
No idea where this got dropped... bad merge?
2020-05-26 15:13:29 -07:00
michael-hawker 572f31ecce Clean-up Focus Stealing on Search
TODO: depending on width of application it's skipping over items in the Navigation View???
2020-05-26 15:13:28 -07:00
michael-hawker a631c6e734 Update NuGet packages 2020-05-26 15:11:41 -07:00
Alexandre Zollinger Chohfi 7211576274 Merge branch 'master' into arm64sampleappfix 2020-05-26 10:23:34 -07:00
Jiaqi Liu 4608752ab3
Flush clipboard on suspending to preserve content (#3276)
* Flush clipboard on suspending to preserve content

Flush clipboard on suspending to preserve content

* Update App.xaml.cs

* Update App.xaml.cs

Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
Co-authored-by: Kyaa-dost <35208324+Kyaa-dost@users.noreply.github.com>
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-05-26 09:58:03 -07:00
michael-hawker 526818cc40 Add back QueryIcon property as IconSource
Note: This restricts us to 17763 due to the IconSourceElement I had to use (until WinUI 3).
2020-05-23 22:15:24 -07:00
Marcus Perryman 66602f137b fix Release build comment error
add code to reset the caret position when using keyboard to navigate between pretoken text items
2020-05-20 11:56:50 +01:00
Alexandre Zollinger Chohfi 4855fecd2a Merge branch 'master' into dev/7.0.0 2020-05-18 19:31:43 -07:00
Kyaa-dost 9258eda016
Merge branch 'master' into ListExtensionsCommand 2020-05-18 11:18:47 -07:00
Sergio Pedri 60e5a9ee47
Win2D pipeline brushes (#3112)
* Added extensions and Win2D helpers

* Added PipelineBuilder type

* Added acrylic and tiles brushes

* Added XamlCompositionBrush type

* Added Win2D/Composition effects

* Added pipeline brush

* Minor code styling tweaks

* Switched composition cache to ConditionalWeakTable<TKey, TValue>

* Minor performance improvements

* More code switched to ConditionalWeakTable<TKey, TValue>

* Fixed missing file header

* Added empty PipelineBrush sample page

* Fixed an incorrect namespace

* Implemented PipelineBrush sample

* Fixed incorrect extensions namespaces

* Reordered using directives

* Code refactoring, added LuminanceToAlpha pipeline effect

* Added C# sample code

* Reordered a using statement

* Renamed some public APIs

* More API refactoring

* Removed unused API

* Reordered a using statement

* Added support for repeated effects in a pipeline

* Animation delegates changed to TimeSpan params

* Added effects setter APIs

* Removed unnecessary remarks

* Added generic parameter to effect setters

* Added generic parameter to effect animations

* Added overloads to set/animate a color effect

* Fixed some XML docs

* Added check for composition capabilities in brushes

* BackdropSaturationBrush switched to pipeline

* Removed unnecessary using directives

* Added pipeline invert effect

* BackdropInvertBrush switched to pipeline

* Reordered using directives

* BackdropBlurBrush switched to pipeline

* Added sepia effect APIs

* BackdropSepiaBrush switched to pipeline

* Added HDR color pipeline initialization APIs

* Minor code refactoring

* More code refactoring

* More code refactoring

* Added exposure effect

* Added grayscale effect

* Minor code refactoring and bug fixes

* Switched to ValueTask<T> to reduce allocations, new APIs

* Removed unnecessary APIs

* Streamlined prebuilt acrylic pipelines

* Added support for live updates in the acrylic brush

* Code refactoring to keep the style consistent

* Added support for noiseless acrylic effects

* Code refactoring

* Added XML remarks with Win2D reference links

* Renamed the TintEffect type

* Added TintEffect

* Added TemperatureAndTintEffect

* Added HueRotationEffect

* Aadded missing capability check

* Removed unnecessary APIs, code refactoring

* Removed an unnecessary resize step

* Win2DImageHelper class renamed to SurfaceLoader

* Unified SurfaceLoader APIs in the .Media package

* Added sample page for the AcrylicBrush

* Updated AcrylicBrush icon

* Added bindings for the AcrylicBrush sample

* Added dependency property to the TilesBrush

* Added sample page for the TilesBrush

* Fixed two XML comments

* Updated tile texture

* Added new brushes to the readme

* Minor code refactoring

* Added support for device lost in SurfaceLoader.Instance

* Updated tile brush texture

* Added opacity to tile brush sample

* Updated the PipelineBrush sample page icon

* Fixed PipelineBrush sample page shallow copy

* Update Microsoft.Toolkit.Uwp.SampleApp/SamplePages/TilesBrush/TilesBrushXaml.bind

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>

* Removed unnecessary CU badges

* Update Microsoft.Toolkit.Uwp.UI.Media/Brushes/AcrylicBrush.cs

Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>

* Added missing effects to shallow copy

* Moved brushes to .Media namespace

* Fixed crash in pipeline sample page

* Switched BlendEffect.Mode to use proxy enum

* Minor code refactoring

* Added unicorn to PipelineBrush sample

* Fixed code URLs for brushes

* Fixed documentation URLs to brushes

* Fix StyleCop Issues with namespaces in Brushes

* Fixed uppercase acronym in public property

* Added DpiMode property to TilesBrush

Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-05-16 17:02:25 -07:00
Sergio Pedri c51e301993
FontIcon markup extension (#3110)
* Added FontIcon markup extension

* Removed unnecessary using directives

* Renamed the FontIcon markup extension

* Added FontIcon tests

* Fixed a typo in the test XAML

* Update UnitTests/Extensions/Test_FontIconExtensionMarkupExtension.cs

Co-Authored-By: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>

* Update UnitTests/Extensions/Test_FontIconExtensionMarkupExtension.cs

Co-Authored-By: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>

* Update UnitTests/Extensions/Test_FontIconExtensionMarkupExtension.cs

Co-Authored-By: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>

* Added new FontIcon properties

* Added more tests for the new properties

* Added FontIconSourceExtension

* Added BitmapIconExtension

* Added tests for the FontIconSource extension

* Fixed namespace for BitmapIconExtension type

* Added tests for BitmapIconExtension type

* Removed [Bindable] attribute from markup extensions

See #3191 for more info about this

* Added a sample page for the FontIconExtension type

* Added sample for the BitmapIcon extension

* Added FontIconSource sample page (not loading)

* Minor code style tweaks, also tests work now ¯\_(ツ)_/¯

* Added shallow copy for icon markup extensions

* Fixed a missing resource in the icon markup sample page

* Code refactoring

* Updated samples page

* Code refactoring, minor optimizations

* Added SymbolIconSourceExtension type

* Added SymbolIconSourceExtension sample

* Added foreground property to icon extensions

* Fixed a typo in a unit test

* Fixed remaining unit tests

* Removed unnecessary using directives

* Fixed BitmapIcon and FontIcon extension tests

* Fixed FontIconSource extension tests

* Fixed build errors after merge

Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
Co-authored-by: Alexandre Zollinger Chohfi <alzollin@microsoft.com>
2020-05-16 02:29:25 -07:00
michael-hawker 68a59f02ef Fix CI Issues
Unmoved files from merge - project moved
2020-05-15 17:08:33 -07:00
Michael Hawker MSFT (XAML Llama) 405f4b7664
Merge branch 'master' into marcpe/TokenizeTextBox 2020-05-15 13:46:21 -07:00
michael-hawker 01075ff459 Update Sample App Hero image for 'Debug' mode 2020-05-15 13:30:23 -07:00
michael-hawker ff9f91ab13 Update Sample App Display Name to include [Debug] for distinction when running with Store App installed 2020-05-15 13:30:23 -07:00
michael-hawker bc843a1fc8 Fix stylecop issue with namespaces in Sample Page 2020-05-15 13:30:23 -07:00
Morten Nielsen d5bfc9f7f3 Initial port of WindowsStateTriggers to the UWP Toolkit. (#3030)
* Initial port of WindowsStateTriggers to the UWP Toolkit.

* Weak listener cleanup

* Undo line

* Added IsNullOrEmpty State Trigger sample

* Fix inconsistent naming of triggers

* Added EqualsStateTrigger and CompareStateTrigger samples

* Added remaining samples

* Fix regex expression so it won't pick up the wrong expressions (RegexStateTrigger sample was affected by this)

* Fix full-screen toggle code

* Remove InputTypeStateTrigger

* Update based on code-review comments

* Fix comparison to handle => and =< better

* Add `s` to name to match `EqualsStateTrigger`

* Add sample for <= and >= and fixes for comparison

* Renamed equal triggers to Is...

* Clean-up StyleCop Issues and fixed sample with Trigger PR

Code was accidently removed from all samples including the original!
Add comment about E-mail RegEx helper in Toolkit

Co-authored-by: Alexandre Zollinger Chohfi <alzollin@microsoft.com>
Co-authored-by: Kyaa-dost <35208324+Kyaa-dost@users.noreply.github.com>
Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
Co-authored-by: Michael Hawker MSFT (XAML Llama) <24302614+michael-hawker@users.noreply.github.com>
2020-05-15 13:20:44 -07:00
michael-hawker 71459d632f Quick fix for Release mode in Sample App for new ItemsRepeater Layout 2020-05-15 11:49:58 -07:00
Shawn Kendrot c25f25b5a9
Add new WrapLayout and StaggeredLayout controls (#3160)
* Update dev/7.0.0 branch version number

* Add a new project for layout controls

* First port of the StaggeredPanel to the new StaggeredLayout

* Create a new class that will hold layout information

* Early exit if we don't have any items

* Early exit for no realization area to render to

* Don't work with the UIElement directly within the measure method. Instead use a new StaggeredItem to track the size of the element

* Stop measuring elements when we are outside the realization rect

* Track the top of the element on the StaggeredItem

* Track the column layout and use that to arrange the items after measure

* Make sure the top of the elemet accounts for the spacing between items

* Move the column width to the state

* Remove horizontal alignment calculations. I don't believe this should be part of a layout. The ItemsRepeater will handle that

* No need to arrange anything if there is no realization bounds

* No need to keep arranging if we are outside the bounds

* Return the column for the given index

* Return the final size always

* Get the item in the column layout, not the index

* Stop measuring after we have measured all columns that fit the bounds

* If the column width is different from what was previously there then clear the items because we will need to recalculate the size of the items

* Manually recycle elements that fall outside of the bounds

* since we are staying within one column we do not need to track the height and number of items in each column

* Make sure we remove the state

* Rename method to clear all the things

* When the width of the panel changes we could get more columns to use. In that case clear out the cache of columns

* We ALWAYS want to measure an item that will be in the bounds

* Calculate the height based on the number of average number of items we have or, if we have all of the items use the total height

* Remove manual recycling logic

* Remove padding property to be in line with the WinUI layouts

* Little code Clean up

* Add some comments

* Remove method not used anymore

* We've already calculated the top. Use that value for placement

* Remove items from the layout state when an item is removed from the layout itself

* Clear the columns after the removal item

* We don't need to clear any of the cache if the an item was added/removed where we haven't cached

* Clear cached items when an item is added

* Clear the entire cache when the collection has been reset

* No need to calculate the number of columns. We have it in our layout state

* First port of the WrapPanel to be a Layout

* Stop measuring items when we are outside the bounds

* Only arrange items within the bounds

* The bottom of the items needs to be within the top bounds.

* Keep track of the element measure and only get the element when we need to

* break out of the arrange when we have passed the realization bounds

* Always measure items that are within the bounds

* Add the <inheritdoc /> tag

* Clear items when the collection changes

* When the Orientation changes, clear the cache

* No need to clear the entire collection. We can just switch the values

* Only check if we're past the bounds when we move to the next row

* Remove Padding to be in line with the WinUI Layouts

* Add debugger info

* Store the position of items instead of calculating each time

* Reset the position of items whenever a layout property changes

* Clear positions whenever the available U value changes

* Clear the available U whenever orientation changes

* Remove property not used

* Make sure to null the position when orientation changes

* Remove the attached property and store the spacing in the state

* Calculate the height of the items

* Don't average items that haven't had their position calculated yet

* Fix type in variable

* Make sure elements get recycled when they are outside the scope of the bounds. Move getting the elements to the layout

* Ignore row spacing for determining which column an items goes to

* This array holds ints, not doubles

* Add height to the debugger display

* We need to recalculate the height when the RowSpacing changes

* Revert the change to not account for row spacing when finding the column. Items will jump around when playing with RowSpacing but that's not a common use case and items were not placed in the right column

* Use the laest version of WinUI

* Make sure elements that are above the bounds are recycled

* Recycle an element if it is below the bounds

* Make method static

* Add case handling for items being replaced

* Switch to a switch statement

* Add a comment as to what is happening when the height is zero

* Add required space after brace

* Handle moving of items

* Recycle elements when they are replaced or moved to ensure the correct context

* Switch to a swtich statement for the items changing

* Add support for moving an item in the wrap layout

* Do not clear the items from the collection. zero out their measure values so they get recalculated

* Add handling for an item being replaced in the wrap layout

* A move could effect the position of items after it. So just clear them out

* Add header to file

* Remove unused usings

* Add summary comment for the class

* Add a simple WrapLayout sample

* Add a simple sample for the new staggered layout

* Put the property on different lines

* Remove trailing white space

* Remove empty Item group

* recycle elements that are below the bounds

* Rename local method

* Only measure an item if it wasn't already measured. This helps speed up items when first being measured

* Increae the size of the items

* Add the location for code and documentation

* Track the elements that are used and make sure they recycled when they are outside of the bounds of the realization area

* Change the category for the layouts

* When an item changes size we need to set a new height for the item and reset everything after it

* If the current measure of the item does not match then the size of the item changed. We need to recalculate layout for everything after it

* Need to check changes in V also

* Just use the handy Equals method!

* No need to remove items that are above index

* Move items to a new row if the size makes them larger than the given space

Co-authored-by: Michael Hawker MSFT (XAML Llama) <michael.hawker@outlook.com>
Co-authored-by: Kyaa-dost <35208324+Kyaa-dost@users.noreply.github.com>
2020-05-15 11:47:51 -07:00
michael-hawker 52ae1af2b7 Import third revision to TokenizingTextBox! 🎉🎉🎉 2020-05-14 22:54:53 -07:00
michael-hawker 2da817040b Merge branch 'master' into marcpe/TokenizeTextBox 2020-05-14 19:42:14 -07:00
Kyaa-dost 17ffba83c1
Merge branch 'master' into ListExtensionsCommand 2020-05-13 12:30:19 -07:00
Alexandre Zollinger Chohfi 971cf0106f Merge branch 'master' into dev/7.0.0 2020-05-07 00:39:17 -07:00
Morten Nielsen b3bce89ebe
Example code was using the wrong class
Obviously wrong as no code uses that, and the header right above uses the correct class name
2020-05-05 23:25:56 -07:00
Shawn Kendrot b812c6bec0 Change binding to x:Bind 2020-05-04 16:35:40 -06:00
Shawn Kendrot 130a1daec4 Remove testing methods 2020-05-04 16:31:13 -06:00
Shawn Kendrot d275890c61
Merge branch 'master' into ConnectedAnimationSampleImprovement 2020-05-04 15:24:17 -06:00
Marcus Perryman 107a1a4014 Modify list item click handling and revert dependency on ItemClick property. 2020-04-30 12:55:35 +01:00
Marcus Perryman 3b01550ee6 Fix selection issues. Add a highlight colour for text when focus is on other parts of the control 2020-04-28 18:56:38 +01:00
Dean Chalk c1695f393f #3209 - updates from comments 2020-04-27 07:33:13 +01:00
Dean Chalk 2d86194e06 Merge branch 'master' into ListExtensionsCommand 2020-04-26 18:11:09 +01:00
Michael Hawker MSFT (XAML Llama) 4059ab5169
Merge branch 'master' into dev/jackil/behaviorsPackageUpgrade 2020-04-23 11:40:06 -07:00
Michael Hawker MSFT (XAML Llama) afb9f65618
Merge branch 'master' into ListExtensionsCommand 2020-04-23 10:21:29 -07:00
Kyaa-dost 656d7fed8c
Merge branch 'master' into mhawker/SampleAppOptimization 2020-04-23 09:31:07 -07:00
Kyaa-dost ab97723835
Merge branch 'master' into marcpe/TokenizeTextBox 2020-04-22 10:59:43 -07:00
Marcus Perryman 2c65acb823 Add the TokenizingTextBox control behaviours for initial commit 2020-04-22 16:06:30 +01:00
Shawn Kendrot 40bec07987 Update the xaml sample 2020-04-17 16:02:27 -06:00
Shawn Kendrot d90dd246bd Close element directly 2020-04-17 16:02:19 -06:00
Shawn Kendrot bd648388b3 Update the connected animations sample to use the photos source so it's more realistic of what a user would do. 2020-04-17 15:53:21 -06:00
Michael Hawker MSFT (XAML Llama) 49f42d0208
Update Microsoft.Toolkit.Uwp.SampleApp/Pages/SampleController.xaml.cs 2020-04-16 16:21:26 -07:00
michael-hawker b08f5b7fff Sample App - Optimize Loading of Sample Data to when Sample is Requested
Previously would load all sample's data at start
2020-04-13 16:20:25 -07:00
michael-hawker 2987c991e6 Sample App - Support Absolute path for Code Files 2020-04-13 16:20:25 -07:00
michael-hawker 7b36a746b0 Sample App - Fix Helpers Sub-categories 2020-04-13 16:20:25 -07:00
Jiaqi Liu 0ae2aff304 Upgrade Microsoft.Xaml.Behaviors.Uwp.Managed package
Upgrade Microsoft.Xaml.Behaviors.Uwp.Managed package
2020-04-13 15:13:56 -07:00
Alexandre Zollinger Chohfi 24d1b5cd18 Updated dispatcher helper sample to use DispatcherQueueHelper. 2020-04-09 13:39:16 -07:00
Vincent 45f8df4d16 Update sample code 2020-04-08 22:06:46 +02:00
Kyaa-dost f87a06fa38
Merge branch 'master' into AdaptiveGridImprovements 2020-04-08 12:04:33 -07:00
Alexandre Zollinger Chohfi 92f8328fd4 Fixes/checks for XamlRoot downlevel. 2020-04-08 00:32:28 -07:00
Alexandre Zollinger Chohfi 919df39bd5 Small fixes/improvements for Eyedropper. 2020-04-07 21:56:35 -07:00
Alexandre Zollinger Chohfi e76b2478f8 Added more Xaml Islands tests. 2020-04-06 16:52:22 -07:00
Alexandre Zollinger Chohfi 9d02ad8d3f Updated .Net Native. 2020-04-05 14:16:26 -07:00
Alexandre Zollinger Chohfi c2627ae4b3 More Xaml Islands updates for flyouts, popups.
UnitTests now both packaged and unpackaged. Most scenarios are only working on packaged apps.
2020-04-03 17:06:48 -07:00
Alexandre Zollinger Chohfi 8f81e73475 Xaml Islands Tests now work properly with UIThread.
Many other Xaml Islands fixes.
2020-04-03 01:06:42 -07:00
Vincent 9182fb7898 Merge remote-tracking branch 'origin/master' into u/vgromfeld/observableGroup 2020-04-02 23:14:34 +02:00
Dean Chalk d14b1571b9 xaml tidy up 2020-04-02 18:06:22 +01:00
Alexandre Zollinger Chohfi edfb11ebde Merge branch 'dev/7.0.0' into xamlIslandsFixes 2020-04-01 18:24:33 -07:00
Alexandre Zollinger Chohfi bcf282317f Merge branch 'master' into dev/7.0.0 2020-04-01 18:24:00 -07:00
Vincent d39f386545 address PR comments 2020-04-01 22:53:33 +02:00
Ze Groumf 1a321b1c15 address PR comments 2020-04-01 22:01:50 +02:00
Alexandre Zollinger Chohfi 44151045db Updated Target and Min version for 7.x release. 2020-04-01 12:40:23 -07:00
Dean Chalk 4e4cdd7ae9 Improvements to AdaptiveGrid Sample page 2020-04-01 17:18:35 +01:00
Dean Chalk c53cd16622 whitespace cleanup 2020-04-01 13:46:17 +01:00
Dean Chalk c1ca110131 Addind Command attached property to ListViewExtensions so that the code is consistent with the docs 2020-04-01 13:45:22 +01:00
Alexandre Zollinger Chohfi 8464f8e526 Fixed dispatcher for Xaml Islands. leveraging DispatcherQueueHelper in favor of DispatcherHelper. 2020-03-31 00:07:31 -07:00
Alexandre Zollinger Chohfi 9c95639eab Merge branch 'master' into dev/7.0.0 2020-03-30 17:21:18 -07:00
Vincent d8e65aa06e
Merge branch 'master' into clipToBounds 2020-03-30 23:18:44 +02:00
Vincent c6ad9f7d5f
Merge branch 'master' into u/vgromfeld/observableGroup 2020-03-30 23:15:35 +02:00
Ze Groumf ec490106c8 add IReadOnlyObservableGroup interface for x:Bind 2020-03-30 23:13:22 +02:00
Ze Groumf 98b4a1cc20 Update page layout + sample code.bind 2020-03-26 23:08:11 +01:00
Alexandre Zollinger Chohfi 04eb1b4363 Centralized StyleCop version in Directory.Build.props.
Removed ruleset files in favor of .editorconfig.
2020-03-26 11:55:58 -07:00
Ze Groumf b84328811b updated sample and fixed ReadOnlyGroupedCollection implementation 2020-03-26 00:18:16 +01:00
Vincent a76393c459 fixed about 2020-03-25 18:22:52 +01:00
Vincent 24163eaf83 Add sample to sergio's pr 2020-03-25 18:16:16 +01:00
Vincent 586324ca62 add clip to bound framework element extension 2020-03-25 17:40:00 +01:00
Ze Groumf 3ac2a8c67b First drop of sample page 2020-03-25 00:08:51 +01:00
michael-hawker d4d19dfae5 Merge remote-tracking branch 'origin/master' into dev/7.0.0 2020-03-24 14:10:06 -07:00
Alexandre Zollinger Chohfi e4cc897ffa
Merge branch 'master' into arm64sampleappfix 2020-03-24 10:56:50 -07:00
Vincent 673a3c0205
Change SystemInformation from static to regular class (#3168)
* change system information to instance class

* add singleton property

* seal class
2020-03-20 14:47:57 -07:00
Vincent d55bdd19a4 restore task return value + add discards 2020-03-20 16:14:46 +01:00
Vincent b4241190b5
Merge branch 'master' into u/vgromfeld/removeUnusedFields 2020-03-13 14:48:38 +01:00
Jerome Laban 6221a69b6b Adjust Value update on change, update sample. 2020-03-10 21:07:23 -04:00
Vincent Gromfeld 70e9c98adb remove unused fields 2020-02-28 15:15:14 +01:00