Class ExtendedVisualStateManager
ExtendedVisualStateManager is a custom VisualStateManager that can smooth out the animation of layout properties.
With this custom VisualStateManager, states can include changes to properties like Grid.Column, can change element heights to or from Auto, and so on.
These changes will be smoothed out over time using the GeneratedDuration and GeneratedEasingFunction of the appropriate transition.
See the "VisualStateManager overrides" region below for a general description of the algorithm.
Inheritance
System.Object
ExtendedVisualStateManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public class ExtendedVisualStateManager : VisualStateManager
Fields
|
Improve this Doc
View Source
RuntimeVisibilityPropertyProperty
Visibility is shadowed by a custom attached property at runtime.
Declaration
public static readonly DependencyProperty RuntimeVisibilityPropertyProperty
Field Value
|
Improve this Doc
View Source
TransitionEffectProperty
The TransitionEffect to use when the state changes.
Declaration
public static readonly DependencyProperty TransitionEffectProperty
Field Value
|
Improve this Doc
View Source
UseFluidLayoutProperty
A VisualStateGroup that can use FluidLayout or not.
Declaration
public static readonly DependencyProperty UseFluidLayoutProperty
Field Value
Properties
|
Improve this Doc
View Source
IsRunningFluidLayoutTransition
Declaration
public static bool IsRunningFluidLayoutTransition { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
GetRuntimeVisibilityProperty(DependencyObject)
Declaration
public static DependencyProperty GetRuntimeVisibilityProperty(DependencyObject obj)
Parameters
Returns
|
Improve this Doc
View Source
GetTransitionEffect(DependencyObject)
Declaration
public static TransitionEffect GetTransitionEffect(DependencyObject obj)
Parameters
Returns
|
Improve this Doc
View Source
GetUseFluidLayout(DependencyObject)
Declaration
public static bool GetUseFluidLayout(DependencyObject obj)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GoToStateCore(Control, FrameworkElement, String, VisualStateGroup, VisualState, Boolean)
Declaration
protected override bool GoToStateCore(Control control, FrameworkElement stateGroupsRoot, string stateName, VisualStateGroup group, VisualState state, bool useTransitions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
SetRuntimeVisibilityProperty(DependencyObject, DependencyProperty)
Declaration
public static void SetRuntimeVisibilityProperty(DependencyObject obj, DependencyProperty value)
Parameters
|
Improve this Doc
View Source
Declaration
public static void SetTransitionEffect(DependencyObject obj, TransitionEffect value)
Parameters
|
Improve this Doc
View Source
SetUseFluidLayout(DependencyObject, Boolean)
Declaration
public static void SetUseFluidLayout(DependencyObject obj, bool value)
Parameters
Extension Methods