.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XPObjectSpaceProvider.InstantFeedbackMappingMode Property

Specifies what properties should be mapped on a grid in the InstantFeedback mode for all Object Spaces.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v19.2.dll

Declaration

public XPInstantFeedbackSourceMappingMode InstantFeedbackMappingMode { get; set; }
Public Property InstantFeedbackMappingMode As XPInstantFeedbackSourceMappingMode
public XPInstantFeedbackSourceMappingMode InstantFeedbackMappingMode { get; set; }
Public Property InstantFeedbackMappingMode As XPInstantFeedbackSourceMappingMode
public XPInstantFeedbackSourceMappingMode InstantFeedbackMappingMode { get; set; }
Public Property InstantFeedbackMappingMode As XPInstantFeedbackSourceMappingMode

Property Value

Type Description
XPInstantFeedbackSourceMappingMode

The XPInstantFeedbackSourceMappingMode enumeration value that specify a properties mapping mode in the InstantFeedback mode.

Property Value

Type Description
XPInstantFeedbackSourceMappingMode

The XPInstantFeedbackSourceMappingMode enumeration value that specify a properties mapping mode in the InstantFeedback mode.

Property Value

Type Description
XPInstantFeedbackSourceMappingMode

The XPInstantFeedbackSourceMappingMode enumeration value that specify a properties mapping mode in the InstantFeedback mode.

Remarks

By default, in the InstantFeedback mode, all properties values are calculated at once regardless of grid columns settings. If you need to calculate only visible columns values, set the InstantFeedbackMappingMode property to XPInstantFeedbackSourceMappingMode.RequiredProperties as demonstrated below:

protected override void CreateDefaultObjectSpaceProvider(CreateCustomObjectSpaceProviderEventArgs 
args) {
    XPObjectSpaceProvider provider = new XPObjectSpaceProvider(args.ConnectionString, args.Connection);
    provider.InstantFeedbackMappingMode = XPInstantFeedbackSourceMappingMode.RequiredProperties;
    args.ObjectSpaceProvider = provider;
}

To map other columns which are not visible in the grid, add them to a collection of displayed options as described in the CollectionSourceBase.DisplayableProperties topic.

If you want to specify what properties should be mapped on a grid for a particular View, use the XPObjectSpace.InstantFeedbackMappingMode property of a target Object Space.

See Also