|Visual Basic (Declaration)|
Public Class MainImageUIElement Inherits DesktopAlertImageUIElementBase
public class MainImageUIElement : DesktopAlertImageUIElementBase
The image displayed by the MainImageUIElement is determined by the UltraDesktopAlertShowWindowInfo.Image property, assuming this property is explicitly set. In the case where the Image property of the UltraDesktopAlertShowWindowInfo class is not explicitly set, the Image property of the UltraDesktopAlert.Appearance is used. In this case, the same image is displayed for all desktop alert window instances. In the case where the Image property of the Appearance is not explicitly set, the default image is displayed. The size at which the image is displayed is determined by the UltraDesktopAlert.ImageSize property; to prevent the image from appearing, set that property's value to Size.Empty.