18 references to VisualStateGroup
PresentationFramework (18)
src\Framework\System\Windows\Controls\Validation.cs (3)
379IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(fe); 397private static bool HasValidationGroup(IList<VisualStateGroup> groups) 403VisualStateGroup g = groups[groupIndex];
src\Framework\System\Windows\VisualStateManager.cs (15)
43IList<VisualStateGroup> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot); 50VisualStateGroup group; 108protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group, VisualState state, bool useTransitions) 151new FrameworkPropertyMetadata(new ObservableCollectionDefaultValueFactory<VisualStateGroup>())); 159internal static Collection<VisualStateGroup> GetVisualStateGroupsInternal(FrameworkElement obj) 171return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<VisualStateGroup>; 192internal static bool TryGetState(IList<VisualStateGroup> groups, string stateName, out VisualStateGroup group, out VisualState state) 196VisualStateGroup g = groups[groupIndex]; 211private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualStateGroup group, VisualState state, bool useTransitions) 335private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualState state, VisualStateGroup group) 364protected void RaiseCurrentStateChanging(VisualStateGroup stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot) 384protected void RaiseCurrentStateChanged(VisualStateGroup stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot) 408private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root, VisualStateGroup group, VisualState newState, VisualTransition transition) 579internal static VisualTransition GetTransition(FrameworkElement element, VisualStateGroup group, VisualState from, VisualState to)