Replies: 4 comments 1 reply
-
Hello, 'hawkerm! Thanks for submitting a new feature request. I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future! |
Beta Was this translation helpful? Give feedback.
-
An example with animations for the switch content would be nice |
Beta Was this translation helpful? Give feedback.
-
On a similar note, the docs show simple matches for strings and enums but how do you specify a complex type as a string in xaml for matching a case? E.g. If you have a ComboBox displaying a list of a complex type, the ComboBox is using ToString() of the type but when the SwitchPresenter is binding to the SelectedItem of the ComboBox, it is getting the object itself so then how to specify as a string in the case for matching? |
Beta Was this translation helpful? Give feedback.
-
Moved over to the new repo. I know @niels9001 just added a Loading/Animation sample, so we have done a bit of this. I was realizing that it could be handy to just have a base Boolean one as well. Will see if I can find an afternoon to try and create a few and improve stuff, as this is a powerful tool that can be used in a variety of ways. |
Beta Was this translation helpful? Give feedback.
-
Describe the problem
SwitchPresenter
is powerful, but there are complexities when trying to use it with certain types.Describe the solution
Show using
{x:Null}
as a case (I know this is working, at least with a nullable?
type).Show casing on an integer (I don't know if this is working?).
Using with a
NavigationView
for page selection vs. FrameNot sure of other potential scenarios?
Alternatives
No response
Additional info
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
Beta Was this translation helpful? Give feedback.
All reactions