Table of Contents

Method SetToolCommand

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

SetToolCommand(ObjectUniqueId, ICommand?, object?)

Sets command and command parameters for the item.

public virtual void SetToolCommand(ObjectUniqueId id, ICommand? command = null, object? commandParameter = null)

Parameters

id ObjectUniqueId

Item id.

command ICommand

A command that will be executed when tool is clicked.

commandParameter object

A parameter that will be passed to the command when executing it.