Property ToggledItems
- Namespace
- DocWright.Reporting.Pagination
- Assembly
- DocWright.Reporting.dll
ToggledItems
Gets the keys of the toggles a viewer has clicked (Key). Each reverses the initial
visibility of every item and group that names its textbox as their ToggleItem in that instance; a
toggle clicked again is removed. Keys that name no toggle are ignored.
public ISet<string> ToggledItems { get; }
Property Value
Remarks
Toggle state lives here rather than in the page model so that pagination stays stateless: what a server holds for a viewer between requests is this set, and each click paginates the same instance again. The set is read, never changed, by pagination; do not change it while a pagination that uses it is running.