Class LayoutTransformControl
Control that implements support for transformations as if applied by LayoutTransform.
public class LayoutTransformControl : Decorator, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue
- Inheritance
-
LayoutTransformControl
- Implements
- Inherited Members
- Extension Methods
Constructors
LayoutTransformControl()
public LayoutTransformControl()
Fields
LayoutTransformProperty
public static readonly StyledProperty<ITransform?> LayoutTransformProperty
Field Value
UseRenderTransformProperty
public static readonly StyledProperty<bool> UseRenderTransformProperty
Field Value
Properties
LayoutTransform
Gets or sets a graphics transformation that should apply to this element when layout is performed.
public ITransform? LayoutTransform { get; set; }
Property Value
TransformRoot
public Control? TransformRoot { get; }
Property Value
UseRenderTransform
Utilize the RenderTransformProperty for layout transforms.
public bool UseRenderTransform { get; set; }
Property Value
Methods
ArrangeOverride(Size)
Provides the behavior for the "Arrange" pass of layout.
protected override Size ArrangeOverride(Size finalSize)
Parameters
finalSize
SizeThe 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.
protected override Size MeasureOverride(Size availableSize)
Parameters
availableSize
SizeThe 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.