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
Initializes a new instance of the LayoutTransformControl class.
public LayoutTransformControl()
Fields
LayoutTransformProperty
DependencyProperty
Identifies the LayoutTransform DependencyProperty.
public static readonly DependencyProperty LayoutTransformProperty
Properties
LayoutTransform
Transform
Gets or sets the layout transform to apply on the LayoutTransformer control content.
public Transform LayoutTransform { get; set; }
Corresponds to UIElement.LayoutTransform.
Methods
Applies the layout transform on the LayoutTransformer control content.
public void ApplyLayoutTransform()
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.
protected override Size ArrangeOverride(Size finalSize)
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.
protected override Size MeasureOverride(Size availableSize)
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.
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()