LabelControlAppearanceObject.Image Property
Stores the image that will be shown inside the LabelControl.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
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