Last Updated: 25 Apr 2024 12:32 by Michael
Created on: 25 Apr 2024 12:32
Type: Bug Report
Setting ViewMode of the WinUI viewer to PrintPreview in the code doesn't switch the toolbar button state

If you set the WinUI viewer's ViewMode to PrintPreivew in the XAML or the code, the toolbar button's state and value don't change. Hence, even though the report is displayed in PrintPreview, the button for switching the ViewMode is still showing 'Switch to PrintPreview' and is not highlighted. When you click it, the report is displayed in Interactive View, the button becomes highlighted and the tooltip states 'Switch to Interactive mode'.