Search
ItemLabel.Image Property
See Also
 





Gets or sets the image displayed by this label.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public ImageSource Image { get; set; }

Visual Basic  Copy Code

Public Property Image As ImageSource

 Property Value

A System.Windows.Media.ImageSource instance. The default value is null.

 Remarks

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.

 See Also