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 |
|
minWidthProperty | StyledProperty |
|
maxWidthProperty | StyledProperty |
|
heightProperty | StyledProperty |
|
minHeightProperty | StyledProperty |
|
maxHeightProperty | StyledProperty |
|
topmostProperty | StyledProperty |
Return Value
Type | Description |
---|---|
IDisposable |