Questions tagged [adaptive-trigger]
4 questions
1
vote
1 answer
UWP disable visual state or remove trigger
I have a UWP app and have a visual state trigger in xaml like so
…

SunnySonic
- 1,318
- 11
- 37
1
vote
1 answer
UWP Change Grid.HorizontalAlignment to stretch/left using VisualStateManager
I'm having trouble getting the visual state manager to correctly change the HorizontalAlignment/VerticleAlignment of the main grid of my application.
For screen sizes that would be used on phone, I want the HorizontalAlignment/ VerticleAlignment to…

K.Devillier
- 15
- 1
- 5
0
votes
2 answers
.NET MAUI Adaptive triggers not firing
I have a style setup in a new file that is being merged in App.xaml. In the view, Intellisense shows me the x:Key of the style I want to use but adaptive triggers do not fire. I tested it with a style that only contains a setter for changing the…

Emelio
- 37
- 7
0
votes
1 answer
How do I use AdaptiveTriggers to change the font size of a StackPanel?
In the XAML code below, I have multiple VisualStates. Each VisualState has an AdaptiveTrigger that searches for a minimum window width. My goal is to have the StackPanel's FontSize increase as the window size increases.
I've tried this by setting…

Ramza
- 113
- 4