Click or drag to resize
TransitionPresenter Class
This class represents a ContentPresenter that changes its content with a transition.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls.TransitionControl
Assembly: Telerik.Windows.Controls (in Telerik.Windows.Controls.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
[ContentPropertyAttribute("CurrentContent")]
public class TransitionPresenter : ContentPresenter

The TransitionPresenter type exposes the following members.

Constructors
  NameDescription
Public methodTransitionPresenter
Initializes a new instance of the TransitionPresenter class.
Top
Methods
  NameDescription
Public methodStatic memberGetAnimationStretch
Gets a value describing the stretch to be used for the transition animation.
Protected methodMeasureOverride
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
(Overrides ContentPresenterMeasureOverride(Size).)
Public methodPrepareAnimation
Prepares to play the transition animation. The animation will be started after the next Measure pass. This method is called right before the content is changed and creates a snapshot of the old content for use in the animation.
Public methodStatic memberSetAnimationStretch
Sets a value describing the stretch to be used for the transition animation.
Public methodStartAnimation
Will start the transition animation if one is prepared.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAnimationStretchProperty
Identifies the AnimationStretch attached property.
Public fieldStatic memberCurrentContentProperty
Identifies the CurrentContent property.
Public fieldStatic memberCurrentContentTemplateProperty
Identifies the CurrentContentTemplate property.
Public fieldStatic memberDurationProperty
Identifies the Duration property.
Public fieldStatic memberEasingProperty
Identifies the Easing property.
Public fieldStatic memberHostProperty
Identifies the Host property.
Public fieldStatic memberIsTransitionPlayingProperty
Identifies the IsTransitionPlaying property.
Public fieldStatic memberOldContentPresenterProperty
Identifies the OldContentPresenter property.
Public fieldStatic memberOldVisualBrushProperty
Identifies the OldVisualBrush property..
Public fieldStatic memberOldVisualHeightProperty
Identifies the OldVisualHeight property.
Public fieldStatic memberOldVisualWidthProperty
Identifies the OldVisualWidth property.
Public fieldStatic memberTransitionProperty
Identifies the Transition property.
Top
Properties
  NameDescription
Public propertyCurrentContent
Gets or sets a the content of the ContentPresenter. This property is needed as a proxy between the actual Content to let the transition logic to take a snapshot of the old content. This is a DependencyProperty.
Public propertyCurrentContentTemplate
Gets or sets a the content template of the ContentPresenter. This property is needed as a proxy between the actual ContentTemplate to let the transition logic to take a snapshot of the content with the old template. This is a DependencyProperty.
Public propertyDuration
Gets or sets the duration of the animation. This is a DependencyProperty.
Public propertyEasing
Gets or sets a value describing the easing function to be used for the transition animation.
Public propertyHost
Gets or sets the element used to host both the TransitionPresenter and the OldContent visual. This is most likely to be a Panel for use in the Transitions for layout animation.
Public propertyOldContentPresenter
Gets or sets a value identifying the element to be used as an old content for the transition animation when not using a shader effect.
Public propertyOldVisualBrush
Gets or sets a value, describing the texture to be used as initial when transitioning. This is a DependencyProperty.
Public propertyOldVisualHeight
Gets or sets a value, describing the Height of the old content when transitioning. This is a DependencyProperty.
Public propertyOldVisualWidth
Gets or sets a value, describing the Width of the old content when transitioning. This is a DependencyProperty.
Public propertyTransition
Gets or sets a value, describing the the transition effect to be used for the transition. This is a DependencyProperty.
Top
Attached Properties
  NameDescription
Public attached propertyAnimationStretch
Identifies the AnimationStretch attached property.
Top
Events
  NameDescription
Public eventTransitionStatusChanged
Invoked when a Transition state changes.
Public eventTriggeringTransition
Occurs before the transition is started.
Top
See Also