A slide transition between two elements that moves one element over the other, or alternatively pushes the other.
- Inheritance:
-
object
Transition
Storyboard
Transition objectBase
- Implements:
- ICloneable
Constructors
SlideTransition()
Initializes an instance of the class.
Properties
BeginTime
Gets or sets the time at which this transition should begin.
Property Value
- Time
Span : The time at which this transition should begin, relative to the parent's begin time.
Direction
Gets or sets a Transition
Property Value
- Transition
Direction : A Transition
Direction specifying the direction of the transition.
Duration
Gets or sets the length of time for which this transition plays, not counting repetitions.
Property Value
- Duration:
The transition's simple duration: the amount of time this effect takes to complete a single forward iteration. The default value is
Automatic
.
IsFromContentPushed
Gets or sets whether the "from" content is pushed by the "to" content.
Property Value
- bool:
true
if the "from" content is pushed by the "to" content; otherwise,false
. The default value isfalse
.
Mode
Gets or sets a Transition
Property Value
- Transition
Mode : A Transition
Mode specifying the mode of the transition.
Methods
GetFromContentStoryboard(TransitionPresenter, FrameworkElement)
Returns the Storyboard to apply to the "from" content.
Parameter | Type | Description |
---|---|---|
presenter | Transition |
The Transition |
content | Framework |
The element requesting a Style. |
Returns
- Storyboard:
The Storyboard to apply to the "from" content.
GetFromContentStyle(TransitionPresenter, FrameworkElement)
Returns the Style to apply to the "from" content during the transition.
Parameter | Type | Description |
---|---|---|
presenter | Transition |
The Transition |
content | Framework |
The element requesting a Style. |
Returns
GetOppositeTransition()
Returns a variation of the transition that can be used for backing out a content that was inserted into the presenter using this transition.
Returns
- Transition:
A variation of the transition that can be used for backing out a content that was inserted into the presenter using this transition.
GetToContentStoryboard(TransitionPresenter, FrameworkElement)
Returns the Storyboard to apply to the "to" content.
Parameter | Type | Description |
---|---|---|
presenter | Transition |
The Transition |
content | Framework |
The element requesting a Style. |
Returns
- Storyboard:
The Storyboard to apply to the "to" content.
GetToContentStyle(TransitionPresenter, FrameworkElement)
Returns the Style to apply to the "to" content during the transition.
Parameter | Type | Description |
---|---|---|
presenter | Transition |
The Transition |
content | Framework |
The element requesting a Style. |
Returns
Fields
BeginTimeProperty
Identifies the Begin
DirectionProperty
Identifies the Direction dependency property. This field is read-only.
DurationProperty
Identifies the Duration dependency property. This field is read-only.
IsFromContentPushedProperty
Identifies the Is
ModeProperty
Identifies the Mode dependency property. This field is read-only.
Inherited Members
-
Storyboard
Transition Base. Get From Content Style(Transition Presenter, Framework Element, Framework Element) -
Storyboard
Transition Base. Get To Content Style(Transition Presenter, Framework Element, Framework Element) -
Storyboard
Transition Base. On Completed(Transition Presenter, Framework Element, object, Framework Element, object) -
Storyboard
Transition Base. On Started(Transition Presenter, Framework Element, Framework Element) -
Transition.
Clip To Bounds Property -
Transition.
Is To Content Top Most Property -
Transition.
Clone() -
Transition.
End Transition(Transition Presenter, Framework Element, object, Framework Element, object) -
Transition.
Get Opposite Direction(Transition Direction) -
Transition.
Get Opposite Mode(Transition Mode) -
Transition.
Get Resolved Direction(Transition Direction, Transition Direction) -
Transition.
Clip To Bounds -
Transition.
Is To Content Top Most