Back to Devexpress

PanelControl.UseCompatibleDrawingMode Property

windowsforms-devexpress-dot-xtraeditors-dot-panelcontrol-6747bf48.md

latest1.6 KB
Original Source

PanelControl.UseCompatibleDrawingMode Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool UseCompatibleDrawingMode { get; set; }
vb
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property UseCompatibleDrawingMode As Boolean

Property Value

TypeDescription
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

PanelControl Class

PanelControl Members

DevExpress.XtraEditors Namespace