menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LayoutTransformer - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LayoutTransformer

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

    Inheritance
    System.Object
    LayoutTransformer
    Namespace: Syncfusion.UI.Xaml.Controls.Layout
    Assembly: Syncfusion.SfAccordion.UWP.dll
    Syntax
    public sealed class LayoutTransformer : ContentControl

    Constructors

    LayoutTransformer()

    Initializes a new instance of the LayoutTransformer class.

    Declaration
    public LayoutTransformer()

    Fields

    LayoutTransformProperty

    Identifies the LayoutTransform DependencyProperty.

    Declaration
    public static readonly DependencyProperty LayoutTransformProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    LayoutTransform

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

    Declaration
    public Transform LayoutTransform { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.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
    Type Name Description
    Windows.Foundation.Size finalSize

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

    Returns
    Type Description
    Windows.Foundation.Size

    The actual size used.

    Remarks

    Using the WPF paramater name finalSize instead of Silverlight's finalSize for clarity

    MeasureOverride(Size)

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

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize

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

    Returns
    Type Description
    Windows.Foundation.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
    protected override void OnApplyTemplate()

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved