The requested page is not available for the requested platform. You are viewing the content for Default platform.

PrintSelectionBaseController.ShowInReportActionEnableMode Property

Specifies when the PrintSelectionBaseController.ShowInReportAction is disabled with regard to data modifications in the current View.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v19.1.dll


public PrintSelectionBaseController.ActionEnabledMode ShowInReportActionEnableMode { get; set; }
Public Property ShowInReportActionEnableMode As PrintSelectionBaseController.ActionEnabledMode

Property Value

Type Description

An ActionEnabledMode enumeration value that specifies when the ShowInReportAction is disabled.


Data for a selected report is always read from a separate Object Space, so unsaved changes are not included. To specify the Action availability when there are changes in the current View, use one of the following values:

  • None - Action is not disabled.
  • ModifiedChanged - Action is disabled in accordance with the IObjectSpace.ModifiedChanged event. Used in WinForms applications by default.
  • ViewMode - Action is disabled depending on the DetailView.ViewEditMode property. Used in ASP.NET applications by default.

The ShowInReportActionEnableMode default value is taken from the static PrintSelectionBaseController.ShowInReportActionEnableModeDefault field. This field is initialized by the ReportsWindowsFormsModule and ReportsAspNetModule classes. Handle the XafApplication.SetupComplete event to modify the default value, or introduce a new Controller, access the PrintSelectionBaseController controller and change the ShowInReportActionEnableMode property value.

See Also