Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.79 KB

File metadata and controls

31 lines (23 loc) · 1.79 KB

SelectorDialogOptions<TStructure,TContainerStructure> class

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.

Public Members

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.

See Also