visualstatemanager Questions
3
Solved
I am creating a WPF button using Windows 8 styling (formerly metro).
I would like the focused state of the button to show with a solid background. When the mouse is over the control, I would like ...
Arch asked 31/1, 2013 at 18:38
2
There are very helpful tools out there to debug WPF applications in run-time like Snoop, WPF Inspector and Xaml Spy which allow you to sneak peek into running application and monitor property value...
Overcash asked 26/7, 2013 at 13:9
5
Solved
How do you bind the VisualStateManager state of a control to a property in you viewmodel?
Can it be done?
Ambrosius asked 14/5, 2011 at 13:15
1
Solved
Hi I have created an ImagenButton as below:
<ImageButton Source="articulos.png" Clicked="ImageButton_Clicked"/>
And this is the code for animation:
<VisualStateManager.VisualStateGroup...
Michel asked 28/1, 2019 at 16:11
3
Solved
I have to use VisualStateManager class in my WPF window, but as I have referenced the assemblies of both WPF Toolkit and PresentationFramework.dll in my project, C# is not able to resolve the Visua...
Kellen asked 20/1, 2012 at 11:28
1
Solved
I'm currently working on a custom control for my application that expands and collapses content with a header which you can click to change states. The template for it looks like this at the moment...
Diesel asked 20/11, 2016 at 13:18
1
Solved
I have a user interface that adapts to different device form factors using AdaptiveTrigger. In particular, I have a SplitView-based shell menu with two state triggers for when the minimum window wi...
Cadaver asked 21/5, 2016 at 4:26
3
Solved
Using Silverlight 4 & WPF 4, I'm trying to create a button style that alters the text color of any contained text when the button is mouseover'd. Since I'm trying to make this compatible with b...
Drice asked 4/10, 2010 at 15:41
1
Solved
I used to use a custom Blend behavior to bind an enum on the ViewModel to VisualState's that were named the same as the enum enumerations.
However after including references and then including the...
Austriahungary asked 9/9, 2015 at 19:57
2
Solved
I'm working on transitioning some code from silverlight to WPF, and my VisualStates are not working correctly.
I am using visualstatemanager to control the visibility of some text fields. I am not...
Lovelorn asked 28/5, 2015 at 14:3
1
Solved
I've tried to implement DataTrigger, to perform dynamic binding based on which toggle button is toggled in a View. But after searching on the issue, DataTrigger in WinRT? it seems this is not avail...
Upstroke asked 7/5, 2015 at 13:55
4
Solved
Is there any way to use the VisualStateManager with my ChildWindow subclass? Calls to VisualStateManager do nothing, and the googling I did implied the only way to achieve this is with manual calls...
Gilburt asked 22/1, 2010 at 16:41
2
Solved
When using the VisualStateManager in WPF there can be a requirement to transition to a VisualState on control initialization. As far as I can tell there is no way to declare an initial state in Xam...
Deem asked 6/6, 2013 at 7:14
1
I would like to know what difference is between triggers and visualStateManager. I am templating ComboBox and on the official MSDN sites (http://msdn.microsoft.com/en-us/library/ms752094.aspx) they...
Narcis asked 19/4, 2013 at 11:15
1
Solved
I have some controls in a DataTemplate and I'd like to control it's pressed state behaviour. I did the following where I just put in VisualStateManager in the DataTemplate but it doesn't seem to wo...
Ossetia asked 22/11, 2012 at 2:29
2
Solved
I've defined the following two states in Expression Blend. I've been trying to follow this guide but I feel like it leaves me hanging when I need information on how and when to change state.
Ac...
Romeoromeon asked 17/10, 2012 at 11:34
3
Solved
I need to change state of a control and then do some action. To be specific, I want to run an animation before a control is hidden. I would like to do something like that:
VisualStateManager.GoToS...
Costermonger asked 6/9, 2010 at 17:56
1
Solved
Just when I think I understand the VisualStateManager, something proves me wrong.
I'm using WPF 4 and am trying to simply enlarge an item on mouse over, and shrink it back on mouse leave. I figure...
Arctic asked 28/1, 2011 at 12:8
1
Solved
If I have a WPF ListBox which has a basic ItemTemplate that contains a custom user control, how can I tell the user control in the DataTemplate to change its visual state when its selected in the L...
Jadda asked 7/1, 2011 at 4:20
3
Solved
I know we can use
VisualStateManager.GoToState(this,"SomeState1",true);
to enter into SomeState1 , but now how to go back to the base state, like no state, the state where the control was loaded...
Catamaran asked 2/10, 2009 at 8:29
1
© 2022 - 2024 — McMap. All rights reserved.