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

Represents a control that applies a layout transformation to its Content.

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
[Themable]
public class LayoutTransformControl : ContentControl

Inheritance: objectLayoutTransformControl

Constructors

Initializes a new instance of the LayoutTransformControl class.

C#
public LayoutTransformControl()

Fields

LayoutTransformProperty

DependencyProperty

Identifies the LayoutTransform DependencyProperty.

C#
public static readonly DependencyProperty LayoutTransformProperty

Properties

Gets or sets the layout transform to apply on the LayoutTransformer control content.

C#
public Transform LayoutTransform { get; set; }
Remarks:

Corresponds to UIElement.LayoutTransform.

Methods

Applies the layout transform on the LayoutTransformer control content.

C#
public void ApplyLayoutTransform()
Remarks:

Only used in advanced scenarios (like animating the LayoutTransform). Should be used to notify the LayoutTransformer control that some aspect of its Transform property has changed.

Provides the behavior for the "Arrange" pass of layout.

C#
protected override Size ArrangeOverride(Size finalSize)
Parameters:finalSizeSize

The final area within the parent that this element should use to arrange itself and its children.

Returns:

Size

The actual size used.

Provides the behavior for the "Measure" pass of layout.

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

The available size that this element can give to child elements.

Returns:

Size

The size that this element determines it needs during layout, based on its calculations of child element sizes.

Builds the visual tree for the LayoutTransformer control when a new template is applied.

C#
public override void OnApplyTemplate()

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Resets the theme.

C#
public void ResetTheme()