Table of Contents

Interface IExpanderViewBox

Namespace
Nalu
Assembly
Nalu.Maui.Layouts.dll

Represents a view box that can be expanded or collapsed.

public interface IExpanderViewBox : IViewBox, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout
Inherited Members

Properties

ArrangeHeight

Gets the current arrange height of the view box.

double ArrangeHeight { get; }

Property Value

double

ArrangeWidth

Gets the current arrange width of the view box.

double ArrangeWidth { get; }

Property Value

double

CollapsedHeight

Gets the height of the view box when it is collapsed.

double CollapsedHeight { get; }

Property Value

double

Remarks

-1 means the expander does not collapse vertically.

CollapsedWidth

Gets the width of the view box when it is collapsed.

double CollapsedWidth { get; }

Property Value

double

Remarks

-1 means the expander does not collapse horizontally.

IsExpanded

Gets the expand state of the view box.

bool IsExpanded { get; }

Property Value

bool

Methods

SetArrangeSize(double, double, bool)

Sets the target arrange size of the view box.

void SetArrangeSize(double width, double height, bool willCollapse)

Parameters

width double

The target ArrangeWidth.

height double

The target ArrangeHeight.

willCollapse bool

Whether the content will collapse when the view box is not expanded.