Gets or sets the image displayed by this label.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public IImage Image { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property Image As IImage |
A Microsoft.Maui.Graphics.IImage instance. The default value is null.
RemarksIf a label displays both Image and Text, the image position relative to text depends on the ImageAlign property.
If the label is only intended to display an icon image and no text, you could also set its Locked property to prevent users from entering text.
See Also