IPopupHost.

BindConstraints(AvaloniaObject, StyledProperty<double>, StyledProperty<double>, StyledProperty<double>, StyledProperty<double>, StyledProperty<double>, StyledProperty<double>, StyledProperty<bool>) Method

Summary

Binds the constraints of the popup host to a set of properties, usally those present on Popup.
Namespace
Avalonia.Controls.Primitives
Containing Type
IPopupHost

Syntax

IDisposable BindConstraints(AvaloniaObject popup, StyledProperty<double> widthProperty, StyledProperty<double> minWidthProperty, StyledProperty<double> maxWidthProperty, StyledProperty<double> heightProperty, StyledProperty<double> minHeightProperty, StyledProperty<double> maxHeightProperty, StyledProperty<bool> topmostProperty)

Parameters

Name Type Description
popup AvaloniaObject
widthProperty StyledProperty<double>
minWidthProperty StyledProperty<double>
maxWidthProperty StyledProperty<double>
heightProperty StyledProperty<double>
minHeightProperty StyledProperty<double>
maxHeightProperty StyledProperty<double>
topmostProperty StyledProperty<bool>

Return Value

Type Description
IDisposable