Gets or sets the image displayed by this label.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public IImage Image { get; set; } |
Visual Basic
![]() |
---|
Public Property Image As IImage |
A Microsoft.Maui.Graphics.IImage instance. The default value is null.
If 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.
MvcDiagram Programmer's Guide | © 2025 MindFusion |