CommandLocationListExtensionMethodsButtonBar Method

Adds a new ButtonBarCommandLocation to the list.

Definition

Namespace: MFiles.VAF.Configuration.AdminConfigurations
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public static List<ICommandLocation> ButtonBar(
	this List<ICommandLocation> commandList,
	int priority = 0,
	CommandButtonStyle style = CommandButtonStyle.Default
)

Parameters

commandList  ListICommandLocation
The list to add the location to.
priority  Int32  (Optional)
The priority of the button.
style  CommandButtonStyle  (Optional)
the style of the button.

Return Value

ListICommandLocation
The command list, for chaining.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListICommandLocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also