Commit Graph

62 Commits

Author SHA1 Message Date
Antony Male f1f79e8caf Add Stylet.Samples.NavigationController 2021-01-24 10:54:59 +00:00
codest c3d31d0ad3 fix Stylet.Samples.HelloDialog 2020-12-31 12:16:03 +00:00
T.M 6bc5f646f1 ConductorBaseWithActiveItem sets new item as ActiveItem before activating it
Up to now, ScreenExtemsions.TryActivate(newItem) was called
before Conductor.ActiveItem was set to the new item. This commit moves
setting ActiveItem to before TryActivate(newItem) call. This allows for
nested activation - that is, a scenario where newItem can "intercept"
its activation and force parent Conductor to immediately activate
another item inside its OnActivate() override, effectively skipping
newItem without displaying it.

Fixes #140
2020-07-26 19:11:52 +01:00
Antony Male f74f5c745d Update NuGet packages to fix Fody breakage in newer VS versions
Fixes #61
2019-01-10 12:33:05 +00:00
Antony Male bc9578e8ea Update the FluentModelValidator in Samples 2018-11-23 12:50:51 +00:00
Antony Male 93dbfd1482 Make Master/Detail sample not rely on WPF magic
Fixes #33
2018-09-30 18:12:35 +01:00
Antony Male 151371f9f6 Conductor.OneActive should close children removed with items.Clear()
Conductor.AllActive reacts appropriately to the Reset event on its items
collection. Conductor.OneActive doesn't, and should.

Fixes #18
2016-12-03 13:15:14 +00:00
Antony Male eedd886e3e Remove usage of expression-based NotifyOfPropertyChange in library code
Using a string is faster. When I (finally) bring this project up to C# 6, I'll move to nameof
2016-11-17 13:03:12 +00:00
Antony Male 10c8fa4f3a Move to automatic nuget package restore 2016-07-09 12:15:32 +01:00
Antony Male fc869b642a Fix typo in DesignMode sample 2016-02-26 14:35:37 +00:00
Antony Male 069753b696 Fix DesignMode sample 2016-02-26 14:32:08 +00:00
Antony Male 86896e97e5 Change the ViewManager to take a ViewManagerConfig configuration object
This means it possible for users to provide their own ViewManagers, without
having to use a .ToInstance() binding.
2016-01-29 12:47:16 +00:00
Antony Male 9ae20807e6 Fix the samples - they weren't building 2016-01-29 12:46:44 +00:00
Antony Male f5a4924b5b Stylet.Samples.RedditBrowser: Use RestEase, not RestTemplate 2015-10-24 16:40:52 +01:00
Antony Male d079f08745 Fix 'overriding view manager' sample 2015-10-24 16:12:29 +01:00
Antony Male 7bc6a6b863 Update NuGet packages 2015-09-24 17:55:38 +01:00
Antony Male 1731f2388a Change how ViewManager is configured
Instead of taking a reference to the Bootstrapper, it takes a configuration
object which is populated by the Bootrapper. This will pave the way for
easier views-in-multiple-assemblies handling in the near future...

This also involved some work to remove registering Stylet's assembly with
the IoC container and the ViewManager. It wasn't really necessary
anyway and just slowed things down.
2015-09-24 17:48:40 +01:00
Antony Male a5f642d95c Improve Stylet.Samples.Validation, and remove .TryClose 2015-03-17 12:27:53 +00:00
Antony Male f26413f5a7 Catch corner-case with ConductorAllActive where AddRange / RemoveRange wouldn't handle added/removed items 2015-01-06 13:43:31 +00:00
Antony Male 260bfee4c3 Remove and sort usings in samples and bootstrappers 2015-01-05 13:14:33 +00:00
Antony Male 2032fdad77 Add a littl more text to the design-time example 2015-01-05 13:07:50 +00:00
Antony Male 2ce3545de2 Add design-time sample 2015-01-05 12:29:39 +00:00
Antony Male 6d72032f8c Allow IModelValidator to return IEnumerable<string> rather than string[]
Closes #1
2014-12-26 22:55:41 +00:00
Antony Male 743961ec68 ViewManager now accepts an IViewManagerConfig, which makes the IoC container setup neater 2014-12-02 12:52:58 +00:00
Antony Male a5fb3c4c92 Fix samples 2014-12-01 12:38:40 +00:00
Antony Male fc5958c537 Minor tweaks to the examples 2014-11-27 10:40:28 +00:00
Antony Male 5fe1c012de Fix Stylet.Samples.RedditBrowser 2014-08-02 18:04:55 +01:00
Antony Male 2d44237ef4 Change Stringable<T> to a struct, to avoid nullity issues 2014-08-02 17:59:22 +01:00
Antony Male 9532f3eca1 Change capitalisation of ValidationModeBase.AutoValidate 2014-08-02 17:54:15 +01:00
Antony Male f5d215b0b8 Fix the samples 2014-08-02 17:50:19 +01:00
Antony Male 41542665f4 Change how Stylet.Samples.RedditBrowser's SubredditViewModel closes itself 2014-05-29 16:41:00 +01:00
Antony Male 556d25ef15 Fix typo in Stylet.Samples.RedditBrowser 2014-05-29 16:34:48 +01:00
Antony Male ff2ca4deb2 Fix Stylet.Samples.OverridingViewManager 2014-05-26 19:13:08 +01:00
Antony Male 719653079a Use MessageBox in the integration tests and samples 2014-05-21 11:32:51 +01:00
Antony Male 1e6e0c4d98 Update validation rules in Stylet.Samples.ModelValidation 2014-05-20 09:11:11 +01:00
Antony Male 5823437a28 Support design-time application running 2014-05-16 09:46:16 +01:00
Antony Male ba8d5f338c Use PasswordBoxes in Stylet.Samples.ModelValidation 2014-05-14 12:16:37 +01:00
Antony Male bac99ab647 Refactor ValidatingModelBase slightly to support easier overriding 2014-05-13 17:56:54 +01:00
Antony Male 779df6ebcc More work on Stylet.Samples.ModelValidation 2014-05-13 13:29:02 +01:00
Antony Male 43377bbe5d Start work on ModelValidator sample 2014-05-12 17:42:07 +01:00
Antony Male 998237b83d Add extra work to RedditBrowser sample 2014-04-28 12:46:58 +01:00
Antony Male 9e96e8c052 Rename Conductor<T>.Collections to Conductor<T>.Collection, and move Conductor<T>.Collections.Nagivation to Conductor<T>.StackNavigation 2014-04-24 08:11:21 +01:00
Antony Male 580ba7f865 Change stylet namespace to https://github.com/canton7/Stylet 2014-04-23 17:47:42 +01:00
Antony Male 5884592c07 Split out ViewManager.LocateViewForModel, and fix a sample 2014-04-10 20:35:32 +01:00
Antony Male 0d3538c932 Document ViewManager a bit 2014-04-10 13:14:17 +01:00
Antony Male b3ec49f567 Start on the integration test suite 2014-04-04 13:04:53 +01:00
Antony Male 3247acfde9 Move StretchingTreeView into RedditBrowser, and remove codebehinds 2014-03-31 13:28:52 +01:00
Antony Male 72ac463a70 Add RedditBrowser sample 2014-03-31 07:56:14 +01:00
Antony Male b2b489c791 Use SetAndNotify in example 2014-03-28 00:18:59 +00:00
Antony Male 5c8d3b518a Add example with a custom ViewManager 2014-03-19 20:34:26 +00:00