Class
ScalePanel

Represents a custom panel which hosts scale control ticks and axis. It is used to arrange and measure all its children in a specific way.

Definition

Namespace:Telerik.UI.Xaml.Controls.Primitives.Scale

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public sealed class ScalePanel : Panel, IView, IElementPresenter

Inheritance: objectScalePanel

Implements: IElementPresenterIView

Constructors

ScalePanel()

Initializes a new instance of the ScalePanel class.

Declaration

cs-api-definition
public ScalePanel()

Methods

ArrangeOverride(Size)

Provides the behavior for the Arrange pass of layout. Classes can override this method to define their own Arrange pass behavior.

Declaration

cs-api-definition
protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize

Size

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

Returns

Size

The actual size that is used after the element is arranged in layout.

MeasureOverride(Size)

Called in the measure layout pass to determine the desired size.

Declaration

cs-api-definition
protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize

Size

The available size that was given by the layout system.

Returns

Size