Skip to main content

SetTaskbarGroupIcon

Description​

Sets the icon for a custom task bar group.

Supported in M-Files Client version 25.10 and later.

Syntax​

// shellFrame points here into the IShellFrame interface
const result = await shellFrame.Commands.SetTaskbarGroupIcon(
groupId,
iconInformation,
);

Parameters​

NameOptionalityTypeDescription
groupIdRequirednumberThe task bar group id.
iconInformationRequiredIIconInformationThe icon information.

Return type​

TypeDescription
Promise < void >

Exceptions​

ArgumentError - When groupId or iconInformation is null or undefined.

NotFoundError - When the group is not found.

Error - When icon assignment fails.