Back to Devexpress

ControlBase.ClearPreferredSizeCache(Control) Method

windowsforms-devexpress-dot-utils-dot-controls-dot-controlbase-dot-clearpreferredsizecache-x28-system-dot-windows-dot-forms-dot-control-x29.md

latest1.5 KB
Original Source

ControlBase.ClearPreferredSizeCache(Control) Method

Clears the value of the size of a rectangular area, into which the specified control can fit, from the program cache.

Namespace : DevExpress.Utils.Controls

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
public static void ClearPreferredSizeCache(
    Control control
)
vb
Public Shared Sub ClearPreferredSizeCache(
    control As Control
)

Parameters

NameTypeDescription
controlControl

A Control whose size should be removed from the cache.

|

Remarks

This member supports the internal infrastructure, and is not intended to be used directly from your code.

See Also

ControlBase Class

ControlBase Members

DevExpress.Utils.Controls Namespace