Questions tagged [visualstategroup]
17 questions
3
votes
0 answers
VisualState in abstract control
I have an abstract BaseControl that contains dependency properties as well as default style and VisualState.
I would like to use these VisualState in inherited Controls.
I understand that setting the Template of the inherited control does not enable…

user2465083
- 595
- 3
- 12
2
votes
1 answer
How to change the visual state of a control in Xamarin Forms?
I am trying to make a tabs like view with plain xamarin forms because I don't want to use any third party plugin. For that I used two frames like below and changed its state as "Selected" & "Unselected" when tapped on that frame to make it look like…

Ruvindra Yohan
- 67
- 1
- 10
2
votes
1 answer
Setting visual state group from codebehind?
Just wondering how I can switch between visual states in a visual state group, like if I have:

meds
- 21,699
- 37
- 163
- 314
2
votes
1 answer
VisualStateGroups not found?
I have a XAML of a ui control (which inherits from a button) and have various visual state groups in it as follows:

meds
- 21,699
- 37
- 163
- 314
2
votes
1 answer
VisualStateManager seems not to work inside UserControl's ControlTemplate
I'm trying to implement a control, which works similarly to a button in Windows Phone's keyboard: when pressed and held, it should display additional panel with additional option.
I managed to display the additional part after holding the button,…

Spook
- 25,318
- 18
- 90
- 167
1
vote
1 answer
Sharing VisualStateGroups between styles
I have the following xaml