Class
LayoutTransformControl

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

Definition

Namespace:Telerik.Windows.Controls.Primitives

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[Themable]
public class LayoutTransformControl : ContentControl

Inheritance: objectLayoutTransformControl

Constructors

LayoutTransformControl()

Initializes a new instance of the LayoutTransformControl class.

Declaration

cs-api-definition
public LayoutTransformControl()

Fields

LayoutTransformProperty

Identifies the LayoutTransform DependencyProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty LayoutTransformProperty

Field Value

DependencyProperty

Properties

LayoutTransform

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

Declaration

cs-api-definition
public Transform LayoutTransform { get; set; }

Property Value

Transform

Remarks

Corresponds to UIElement.LayoutTransform.

Methods

ApplyLayoutTransform()

Applies the layout transform on the LayoutTransformer control content.

Declaration

cs-api-definition
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.

ArrangeOverride(Size)

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

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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

Returns

Size

The actual size used.

MeasureOverride(Size)

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

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

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.

OnApplyTemplate()

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

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

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

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()