A crossfade transition between two elements that zooms the new content in as well.
- Inheritance:
-
object
Transition
Storyboard
Transition objectBase
- Implements:
- ICloneable
Constructors
FadedZoomTransition()
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.
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
.
Mode
Gets or sets a Transition
Property Value
- Transition
Mode : A Transition
Mode specifying the mode of the transition.
ZoomInPercentage
Gets or sets the percentage by which to scale inner-zoomed content (content that extends inside of the transition presenter).
Property Value
- double:
The percentage by which to scale inner-zoomed content (content that extends inside of the transition presenter). The default value is
0.2
.
Remarks
The value must be between 0
and 0.5
.
ZoomOutPercentage
Gets or sets the percentage by which to scale outer-zoomed content (content that extends outside of the transition presenter).
Property Value
- double:
The percentage by which to scale outer-zoomed content (content that extends outside of the transition presenter). The default value is
0.2
.
Remarks
The value must be between 0
and 0.5
.
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 Storyboard. |
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 Storyboard. |
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
DurationProperty
Identifies the Duration dependency property. This field is read-only.
ModeProperty
Identifies the Mode dependency property. This field is read-only.
ZoomInPercentageProperty
Identifies the Zoom
ZoomOutPercentageProperty
Identifies the Zoom
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