PrintSelectionBaseController.ShowInReportActionEnableMode Property
Specifies when the PrintSelectionBaseController.ShowInReportAction is disabled depending on data modifications in the current View.
Namespace: DevExpress.ExpressApp.ReportsV2
Assembly: DevExpress.ExpressApp.ReportsV2.v25.2.dll
NuGet Package: DevExpress.ExpressApp.ReportsV2
Declaration
public PrintSelectionBaseController.ActionEnabledMode ShowInReportActionEnableMode { get; set; }
Property Value
| Type | Description |
|---|---|
| PrintSelectionBaseController.ActionEnabledMode | A 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 by default.
The ShowInReportActionEnableMode default value is taken from the static ShowInReportActionEnableModeDefault field.
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.