18 references to VisualStateGroup
PresentationFramework (18)
System\Windows\Controls\Validation.cs (3)
346
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(fe);
364
private static bool HasValidationGroup(IList<
VisualStateGroup
> groups)
370
VisualStateGroup
g = groups[groupIndex];
System\Windows\VisualStateManager.cs (15)
35
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot);
42
VisualStateGroup
group;
94
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName,
VisualStateGroup
group, VisualState state, bool useTransitions)
131
new FrameworkPropertyMetadata(new ObservableCollectionDefaultValueFactory<
VisualStateGroup
>()));
139
internal static Collection<
VisualStateGroup
> GetVisualStateGroupsInternal(FrameworkElement obj)
148
return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<
VisualStateGroup
>;
166
internal static bool TryGetState(IList<
VisualStateGroup
> groups, string stateName, out
VisualStateGroup
group, out VisualState state)
170
VisualStateGroup
g = groups[groupIndex];
185
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualStateGroup
group, VisualState state, bool useTransitions)
297
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualState state,
VisualStateGroup
group)
326
protected void RaiseCurrentStateChanging(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
339
protected void RaiseCurrentStateChanged(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
356
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root,
VisualStateGroup
group, VisualState newState, VisualTransition transition)
527
internal static VisualTransition GetTransition(FrameworkElement element,
VisualStateGroup
group, VisualState from, VisualState to)