Table of Contents

Method AddRemainingImages

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AddRemainingImages(KnownButtonImage?)

Adds a default transparent image to all child speed buttons that do not already have an image.

public virtual bool AddRemainingImages(KnownButtonImage? img = null)

Parameters

img KnownButtonImage?

The custom label image to use; if null, a default transparent image will be used.

Returns

bool

true if at least one child speed button was updated with a transparent image; otherwise, false.

Remarks

This method iterates through the child elements and assigns a custom or default transparent image to any SpeedButton that does not already have an image. If no child speed buttons require an image, the method returns false.