18 references to VisualStateGroup
PresentationFramework (18)
System\Windows\Controls\Validation.cs (3)
353
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(fe);
371
private static bool HasValidationGroup(IList<
VisualStateGroup
> groups)
377
VisualStateGroup
g = groups[groupIndex];
System\Windows\VisualStateManager.cs (15)
36
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot);
43
VisualStateGroup
group;
95
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName,
VisualStateGroup
group, VisualState state, bool useTransitions)
132
new FrameworkPropertyMetadata(new ObservableCollectionDefaultValueFactory<
VisualStateGroup
>()));
140
internal static Collection<
VisualStateGroup
> GetVisualStateGroupsInternal(FrameworkElement obj)
149
return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<
VisualStateGroup
>;
167
internal static bool TryGetState(IList<
VisualStateGroup
> groups, string stateName, out
VisualStateGroup
group, out VisualState state)
171
VisualStateGroup
g = groups[groupIndex];
186
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualStateGroup
group, VisualState state, bool useTransitions)
298
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualState state,
VisualStateGroup
group)
327
protected void RaiseCurrentStateChanging(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
340
protected void RaiseCurrentStateChanged(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
357
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root,
VisualStateGroup
group, VisualState newState, VisualTransition transition)
528
internal static VisualTransition GetTransition(FrameworkElement element,
VisualStateGroup
group, VisualState from, VisualState to)