The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

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.2.dll

Declaration

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

Property Value

Type Description
PrintSelectionBaseController.ActionEnabledMode

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

Property Value

Type Description
PrintSelectionBaseController.ActionEnabledMode

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

Remarks

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