Skip to main content
Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

VariableTreeProperties(string, bool, bool, string, string, string, PickUserDataActionAsync)

Constructor.

Parameters

componentName string Name to display at the root of the VariableTree. canAddRemove bool If the UI controls can be used to add and remove variables. hasNamedVariables bool If the variables use a named variable property. namedVariableDisplayName string The display name of named variables. namedVariableToken string The token to use for named variables in the Text Based Variable Editor. namedVariablePickText string The text to display on the button that lets the user pick the user data. Defaults to “Pick” if this parameter is null. Note that the button will not be visible unless namedVariablePickAction is non-null. namedVariablePickAction VariablePropertiesControl.PickUserDataActionAsync The action to invoke when the user clicks the button to the right of the user data field. If this parameter is null, the button will not be visible.