Options class for describing the behavior of a selector dialog in Studio Pro.
public abstract class SelectorDialogOptions<TStructure, TContainerStructure>
where TStructure : class, IStructure
where TContainerStructure : class, IStructure
parameter | description |
---|---|
TStructure | The type of model element that is selected in the dialog. |
TContainerStructure | The type of model element that is passed into the CreateElement function. |
name | description |
---|---|
AllowNone { get; set; } | Whether to show the 'None' button, which allows the user to select nothing, in which case |
Context { get; } | Context in which the selection happens that is used to focus a specific IFolder or IModule in the shown interface. |
CreateElement { get; set; } | Optional function to create a new model element. If not null, the 'New' button is displayed. |
Filter { get; set; } | Optional filter to limit what model elements can be selected. |
InitialSelection { get; } | The initially selected model element, if any. |
- interface IStructure
- namespace Mendix.StudioPro.ExtensionsAPI.UI.Services