Skip to main content

PanelControl.UseCompatibleDrawingMode Property

Gets or sets whether the PanelControl should use the non-default painting mode.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool UseCompatibleDrawingMode { get; set; }

Property Value

Type Description
Boolean

true if the PanelControl control uses the non-default painting mode; otherwise, false.

Remarks

This property is introduced to resolve possible painting issues with standard WinForms controls. If a WinForms control is placed onto a PanelControl control and painting issues are observed, set the UseCompatibleDrawingMode property to true to enable another painting mode.

See Also