Skip to main content
All docs
V24.1

AsyncDownloadPolicy.DefaultBufferSizeForContentCopy Field

Gets or sets the size of the buffer.

Namespace: DevExpress.Data

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public static int DefaultBufferSizeForContentCopy

Field Value

Type Description
Int32

The size, in bytes, of the buffer.

Remarks

You can also use DefaultResponseContentBufferSizeForHttpClient and DefaultBufferSizeForContentCopy settings to modify values for the static AsyncDownloadPolicy class constants and specify a global limit that can be changed within the ConfigureHttpClient event for individual UI controls.

DevExpress.Data.AsyncDownloadPolicy.DefaultResponseContentBufferSizeForHttpClient  = 1024 * 1024 * 4; // 4MB
DevExpress.Data.AsyncDownloadPolicy.DefaulBufferSizeForContentCopy = 1024 * 16; // 16KB

Read the following topic for detailed information and examples: Suppress Control Requests to Download Data from External URLs.

See Also