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
ArrangeWidth
Gets the current arrange width of the view box.
double ArrangeWidth { get; }
  Property Value
CollapsedHeight
Gets the height of the view box when it is collapsed.
double CollapsedHeight { get; }
  Property Value
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
Remarks
-1 means the expander does not collapse horizontally.
IsExpanded
Gets the expand state of the view box.
bool IsExpanded { get; }
  Property Value
Methods
SetArrangeSize(double, double, bool)
Sets the target arrange size of the view box.
void SetArrangeSize(double width, double height, bool willCollapse)
  Parameters
widthdoubleThe target ArrangeWidth.
heightdoubleThe target ArrangeHeight.
willCollapseboolWhether the content will collapse when the view box is not expanded.