Table of Contents

Method AddRemainingLabelImages

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

AddRemainingLabelImages(KnownButtonImage?)

Ensures that all child SpeedButton instances have a label image assigned.

public virtual bool AddRemainingLabelImages(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 SpeedButton was updated with a label image; otherwise, false.

Remarks

This method iterates through the child elements and assigns a custom or default transparent label image to any SpeedButton that does not already have one. If no child elements require a label image, the method performs no action.