EdgeUIThemeTransition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the animated transition behavior for an edge UI transition.
Equivalent WinUI class: Microsoft.UI.Xaml.Media.Animation.EdgeUIThemeTransition.
public ref class EdgeUIThemeTransition sealed : Transition
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class EdgeUIThemeTransition final : Transition
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class EdgeUIThemeTransition final : Transition
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class EdgeUIThemeTransition : Transition
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class EdgeUIThemeTransition : Transition
Public NotInheritable Class EdgeUIThemeTransition
Inherits Transition
<EdgeUIThemeTransition .../>
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
We recommend that you include edge UI by adding an AppBar via the BottomAppBar and TopAppBar properties, which will automatically apply all appropriate transitions and interaction behavior for you.
PaneThemeTransition versus EdgeUIThemeTransition
- Use edge UI animations (EdgeUIThemeTransition) to show or hide a custom message or error bar that does not extend far into the screen.
- Use panel animations (PaneThemeTransition) to show UI that slides a significant distance into the screen, such as a task pane or a custom soft keyboard.
Constructors
EdgeUIThemeTransition() |
Initializes a new instance of the EdgeUIThemeTransition class. |
Properties
Dispatcher |
Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread. Equivalent WinUI property: Microsoft.UI.Xaml.DependencyObject.Dispatcher. (Inherited from DependencyObject) |
Edge |
Gets or sets the edge position to use for the transition. Equivalent WinUI property: Microsoft.UI.Xaml.Media.Animation.EdgeUIThemeTransition.Edge. |
EdgeProperty |
Identifies the Edge dependency property. Equivalent WinUI property: Microsoft.UI.Xaml.Media.Animation.EdgeUIThemeTransition.EdgeProperty. |
Methods
Applies to
See also
Feedback
Submit and view feedback for