Class LayoutTransformControl
Represents a control that applies a layout transformation to its Content.
Inheritance
Namespace: Telerik.Windows.Controls.Primitives
Assembly: Telerik.Windows.Controls.dll
Syntax
[Themable]
public class LayoutTransformControl : ContentControl
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
System.Windows.DependencyProperty
|
Properties
LayoutTransform
Gets or sets the layout transform to apply on the LayoutTransformer control content.
Declaration
public Transform LayoutTransform { get; set; }
Property Value
System.Windows.Media.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
System.Windows.Size
finalSize
The final area within the parent that this element should use to arrange itself and its children. |
Returns
System.Windows.Size
The actual size used. |
MeasureOverride(Size)
Provides the behavior for the "Measure" pass of layout.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The available size that this element can give to child elements. |
Returns
System.Windows.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 System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()