Autodesk Vault ProfessionalVault API

ConfigureActionButtons Method

Autodesk.DataManagement.Client.Framework.Vault.Forms.SettingsSelectEntitySettings

Configures the action button used to submit the dialog.

Syntax

public void ConfigureActionButtons(
   System.string label,
   System.Collections.Generic.IEnumerable<SelectEntitySettings.ActionButtonOption> options,
   SelectEntitySettings.ActionButtonOption defaultOption,
   System.bool persistChosenOption
)
Public Sub ConfigureActionButtons( _
   ByVal label As System.String, _
   ByVal options As System.Collections.Generic.IEnumerable(Of SelectEntitySettings.ActionButtonOption), _
   ByVal defaultOption As SelectEntitySettings.ActionButtonOption, _
   ByVal persistChosenOption As System.Boolean _
) 

Parameters

NameDescription
labelSets the text to display in the Action button. Typical values are "Open" or "Save".
optionsSets a list of choices to be associated with the Action button. The choices will be presented in a button with a dropdown arrow which displays a menu when clicked.
defaultOptionSets the default choice from the list of options that is returned when the action button is clicked without using the dropdown menu.
persistChosenOptionSets if the dialog should remember which option was chosen by the user, to be used as the default next time the dialog is shown.

See Also