New to Telerik UI for WPFStart a free 30-day trial

Represents a presenter that changes its size smoothly when its content is resized.

Definition

Namespace:Telerik.Windows.Controls.TransitionControl

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class FluidResizePresenter : ContentPresenter

Inheritance: objectFluidResizePresenter

Constructors

Initializes a new instance of the FluidResizePresenter class.

C#
public FluidResizePresenter()

Fields

DurationProperty

DependencyProperty

Identifies the Duration property.

C#
public static readonly DependencyProperty DurationProperty

EasingProperty

DependencyProperty

Identifies the Easing property.

C#
public static readonly DependencyProperty EasingProperty

Properties

Duration

Duration

Gets or sets the duration of the animation. This is a DependencyProperty.

C#
public Duration Duration { get; set; }

Easing

IEasingFunction

Gets or sets a value describing the easing function to be used for the animation.

C#
public IEasingFunction Easing { get; set; }

Methods

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

C#
protected override Size MeasureOverride(Size availableSize)
Parameters:availableSizeSize

The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available.

Returns:

Size

The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size.