blazor-devexpress-dot-blazor-dot-dxflyout-3aa6cebb.md
Specifies the window’s offset.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
[Parameter]
public int? Offset { get; set; }
| Type | Description |
|---|---|
| Nullable<Int32> |
The offset in pixels.
|
Use the PositionTarget and Position properties to specify the position where the flyout window appears. The Offset property allows you to offset the window relative to the selected position.
<DxButton Id="show-flyout" Click="() => IsOpen = !IsOpen">Show a flyout window</DxButton>
<DxFlyout @bind-IsOpen="@IsOpen" Width="210"
BodyText="Lorem ipsum dolor sit amet"
PositionTarget="#show-flyout"
Position="FlyoutPosition.BottomStart"
Offset="70">
</DxFlyout>
@code {
bool IsOpen { get; set; } = false;
}
See Also