LabelControlAppearanceObject.Image Property
Stores the image that will be shown inside the LabelControl.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override Image Image { get; set; }
Property Value
Type | Description |
---|---|
Image | The image that will be shown inside the LabelControl. |
Remarks
The code sample below illustrates how to display a custom image in a LabelControl element.
LabelControlAppearanceObject appearance = new LabelControlAppearanceObject();
appearance.Image = Image.FromFile("C:\\image.png");
labelControl1.Appearance.Assign(appearance);
See Also