Back to Devexpress

PanelControl.ContentImage Property

windowsforms-devexpress-dot-xtraeditors-dot-panelcontrol-3728576f.md

latest1.7 KB
Original Source

PanelControl.ContentImage Property

Gets or sets the group’s background image that is displayed “as is”, and can be aligned to any panel’s edge.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Appearance")]
public Image ContentImage { get; set; }
vb
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Property ContentImage As Image

Property Value

TypeDefaultDescription
Imagenull

An Image object.

|

Remarks

The image assigned to the ContentImage property is displayed in the panel’s background “as is”. Use the PanelControl.ContentImageAlignment property to set the image’s alignment within the panel.

See Also

ContentImageAlignment

PanelControl Class

PanelControl Members

DevExpress.XtraEditors Namespace