CommandLocationListExtensionMethodsButtonBar Method |
Namespace:
MFiles.VAF.Configuration.AdminConfigurations
Assembly:
MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 21.8.10524.1
Syntaxpublic static List<ICommandLocation> ButtonBar(
this List<ICommandLocation> commandList,
int priority = 0,
CommandButtonStyle style = CommandButtonStyle.Default
)
<ExtensionAttribute>
Public Shared Function ButtonBar (
commandList As List(Of ICommandLocation),
Optional priority As Integer = 0,
Optional style As CommandButtonStyle = CommandButtonStyle.Default
) As List(Of ICommandLocation)
public:
[ExtensionAttribute]
static List<ICommandLocation^>^ ButtonBar(
List<ICommandLocation^>^ commandList,
int priority = 0,
CommandButtonStyle style = CommandButtonStyle::Default
)
Parameters
- commandList
- 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:
ListICommandLocationThe 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