FilterDialogBehavior record Core
Whether the value-filter dialog closes when one of its own menu rows acts. Default: it STAYS OPEN — a menu row does its thing and you keep working in the dialog (sort ascending, look, sort descending). Only OK/Cancel, Esc, picking a text-filter and the light-dismiss close it. Apps that prefer the Excel-style close-on-sort flip the flags; the grid exposes them as properties so it can be set per grid rather than per process.
public sealed record FilterDialogBehavior
- Namespace
- ArionUI.Presentation.Overlay
- Package
- ArionUI.Presentation ·
dotnet add package ArionUI.Presentation --prerelease
Constructors
FilterDialogBehavior
public FilterDialogBehavior(bool CloseOnSort = false, bool CloseOnClearFilter = false);Whether the value-filter dialog closes when one of its own menu rows acts. Default: it STAYS OPEN — a menu row does its thing and you keep working in the dialog (sort ascending, look, sort descending). Only OK/Cancel, Esc, picking a text-filter and the light-dismiss close it. Apps that prefer the Excel-style close-on-sort flip the flags; the grid exposes them as properties so it can be set per grid rather than per process.
Fields
Default
public static readonly FilterDialogBehavior Default;
Properties
CloseOnClearFilter
public bool CloseOnClearFilter { get; init; }
CloseOnSort
public bool CloseOnSort { get; init; }
