TransitioningContentControl Class

Summary

A ContentControl that animates content as it loads and unloads.
Namespace
MahApps.Metro.Controls
Base Types
  • ContentControl
graph BT Type-->Base0["ContentControl"] Type["TransitioningContentControl"] class Type type-node

Syntax

public class TransitioningContentControl : ContentControl

Constructors

Events

Name Type Summary
TransitionCompleted RoutedEventHandler

Fields

Properties

Name Value Summary
CustomVisualStates ObservableCollection<VisualState>
CustomVisualStatesName string
Gets or sets the name of the custom transition visual state.
IsTransitioning bool
Gets/sets if the content is transitioning.
RestartTransitionOnContentChange bool
Transition TransitionType

Methods

Name Value Summary
AbortTransition() void
OnApplyTemplate() void
OnContentChanged(object, object) void
OnRestartTransitionOnContentChangeChanged(bool, bool) void
ReloadTransition() void
Reload the current transition if the content is the same.