Skip to main content
A newer version of this page is available. .

DXWindow.AllowChangeRenderMode Property

Gets or sets whether the DXWindow enables software rendering during window resizing to avoid flickering on some video cards.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public bool AllowChangeRenderMode { get; set; }

Property Value

Type Description
Boolean

true, if the DXWindow manipulates the HwndTarget.RenderMode property to avoid window flickering; otherwise, false. The default value is true.

Remarks

In hardware rendering mode, a flickering effect can appear on some video cards while resizing the DXWindow. If the AllowChangeRenderMode is set to true, the DXWindow automatically changes the HwndTarget.RenderMode to RenderMode.SoftwareOnly to avoid flickering. The DXWindow changes this value when window resizing starts and resets to its previous value when resizing is finished. To prevent the HwndTarget.RenderMode property from being manipulated by the DXWindow on window resizing, you can set the AllowChangeRenderMode property to false.

See Also