Click or drag to resize

CommandLocationListExtensionMethodsButtonBar Method

Adds a new ButtonBarCommandLocation to the list.

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


Type: System.Collections.GenericListICommandLocation
The list to add the location to.
priority (Optional)
Type: SystemInt32
The priority of the button.
style (Optional)
Type: MFiles.VAF.Configuration.DomainCommandButtonStyle
the style of the button.

Return Value

Type: 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