Summary
A ContentControl which use a transition to slide in the content.
- Namespace
- MahApps
.Metro .Controls - Base Types
-
- ContentControl
graph BT
Type-->Base0["ContentControl"]
Type["MetroContentControl"]
class Type type-node
Syntax
public class MetroContentControl : ContentControl
Constructors
| Name | Summary |
|---|---|
| MetroContentControl |
Events
| Name | Type | Summary |
|---|---|---|
| TransitionCompleted | RoutedEventHandler |
The event which will be fired when the transition ends.
|
| TransitionStarted | RoutedEventHandler |
The event which will be fired when the transition starts.
|
Fields
| Name | Constant Value | Summary |
|---|---|---|
| Is |
Identifies the
IsTransitioning dependency property.static
|
|
| Only |
Identifies the
OnlyLoadTransition dependency property.static
|
|
| Reverse |
Identifies the
ReverseTransition dependency property.static
|
|
| Transition |
Identifies the
TransitionCompleted routed event.static
|
|
| Transition |
Identifies the
TransitionStarted routed event.static
|
|
| Transitions |
Identifies the
TransitionsEnabled dependency property.static
|
Properties
| Name | Value | Summary |
|---|---|---|
| IsTransitioning | bool |
Gets whether if the content is transitioning.
|
| OnlyLoadTransition | bool |
Gets or sets whether the transition should be used only at the loaded event of the control.
|
| ReverseTransition | bool |
Gets or sets whether the reverse version of the transition should be used.
|
| TransitionsEnabled | bool |
Gets or sets the value if a transition should be used or not.
|
Methods
| Name | Value | Summary |
|---|---|---|
| OnApplyTemplate |
void | |
| Reload |
void |
Execute the transition again.
|
