Table of Contents

Method AddCustomBtn

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

AddCustomBtn(Type, Func<SpeedButton>)

Adds custom SpeedButton to the control.

public virtual SpeedButton AddCustomBtn(Type type, Func<SpeedButton> factory)

Parameters

type Type

The type of the button to add. This value must inherit from SpeedButton.

factory Func<SpeedButton>

Factory method to create the button.

Returns

SpeedButton

The created SpeedButton.