Gets or sets the image displayed by this label.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public ImageSource Image { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property Image As ImageSource |
A System.Windows.Media.ImageSource 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