18 references to VisualStateGroup
PresentationFramework (18)
System\Windows\Controls\Validation.cs (3)
361
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(fe);
379
private static bool HasValidationGroup(IList<
VisualStateGroup
> groups)
385
VisualStateGroup
g = groups[groupIndex];
System\Windows\VisualStateManager.cs (15)
41
IList<
VisualStateGroup
> groups = VisualStateManager.GetVisualStateGroupsInternal(stateGroupsRoot);
48
VisualStateGroup
group;
100
protected virtual bool GoToStateCore(FrameworkElement control, FrameworkElement stateGroupsRoot, string stateName,
VisualStateGroup
group, VisualState state, bool useTransitions)
137
new FrameworkPropertyMetadata(new ObservableCollectionDefaultValueFactory<
VisualStateGroup
>()));
145
internal static Collection<
VisualStateGroup
> GetVisualStateGroupsInternal(FrameworkElement obj)
154
return obj.GetValue(VisualStateManager.VisualStateGroupsProperty) as Collection<
VisualStateGroup
>;
172
internal static bool TryGetState(IList<
VisualStateGroup
> groups, string stateName, out
VisualStateGroup
group, out VisualState state)
176
VisualStateGroup
g = groups[groupIndex];
191
private static bool GoToStateInternal(FrameworkElement control, FrameworkElement stateGroupsRoot,
VisualStateGroup
group, VisualState state, bool useTransitions)
303
private static bool ShouldRunStateStoryboard(FrameworkElement control, FrameworkElement stateGroupsRoot, VisualState state,
VisualStateGroup
group)
332
protected void RaiseCurrentStateChanging(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
345
protected void RaiseCurrentStateChanged(
VisualStateGroup
stateGroup, VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
362
private static Storyboard GenerateDynamicTransitionAnimations(FrameworkElement root,
VisualStateGroup
group, VisualState newState, VisualTransition transition)
533
internal static VisualTransition GetTransition(FrameworkElement element,
VisualStateGroup
group, VisualState from, VisualState to)