ClassLayoutTransformControl
Represents a control that applies a layout transformation to its Content.
Definition
Namespace:Telerik.Windows.Controls.Primitives
Assembly:Telerik.Windows.Controls.dll
Syntax:
[Themable]
public class LayoutTransformControl : ContentControl
Inheritance: objectLayoutTransformControl
Constructors
LayoutTransformControl()
Initializes a new instance of the LayoutTransformControl class.
Declaration
public LayoutTransformControl()
Fields
LayoutTransformProperty
Identifies the LayoutTransform DependencyProperty.
Declaration
public static readonly DependencyProperty LayoutTransformProperty
Field Value
DependencyProperty
Properties
LayoutTransform
Gets or sets the layout transform to apply on the LayoutTransformer control content.
Declaration
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
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
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
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
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.