blazor-devexpress-dot-blazor-dot-dxflyout-a587ca89.md
Specifies the maximum height of the flyout window.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public string MaxHeight { get; set; }
| Type | Description |
|---|---|
| String |
The height, in CSS units.
|
The Flyout component calculates its size based on the content. Use the following properties to restrict the component size: MinWidth, MinHeight, MaxWidth, and MaxHeight.
<DxButton Id="button" Click="() => IsOpen = !IsOpen">Show a flyout window</DxButton>
<DxFlyout @bind-IsOpen=IsOpen
PositionTarget="#button"
BodyText="@Constants.Content"
MinWidth="200" MaxWidth="400"
MinHeight="200" MaxHeight="400">
</DxFlyout>
@code {
bool IsOpen { get; set; } = false;
}
The Height and Width properties allow you to specify the exact size of the flyout component.
See Also