Repository navigation
Release v4.42.0
Summary
DataPage menu actions can now read the page's current selection directly, without mirroring an uncontrolled selection into application state.
Added
DataPage.MenuItemcommandreceives the current selection as aDataPageSelection<T>snapshot: the selected item in single selection mode, or a readonlyselectedItemscollection in multiple selection mode. Existing commands without arguments keep working. (#489)DataPage.MenuItemdisabledalso accepts a predicate over the current selection, combined withdisableOnUnselected; a disabled item never runs its command. (#489)DataPageSelection<T>is exported for typing menu actions; declare the menu item asMenuItem<T>to get typed rows. (#489)