Table of Contents

Class SelectTemplateDialog<T>

Namespace
AlphaFramework.Editor.World.Dialogs
Assembly
AlphaFramework.Editor.dll

Dialog for selecting Template<TSelf>es (with a preview pane).

public sealed class SelectTemplateDialog<T> : OKCancelDialog, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl where T : Template<T>

Type Parameters

T

The type of Template<TSelf>es to select.

Inheritance
SelectTemplateDialog<T>
Implements
Inherited Members
Extension Methods

Remarks

This dialog is a modal dialog.Communication is handled via the DialogResult and properties (SelectedTemplate)

Constructors

SelectTemplateDialog(NamedCollection<T>)

Creates a new Template<TSelf> selection dialog

public SelectTemplateDialog(NamedCollection<T> templates)

Parameters

templates NamedCollection<T>

The list of Template<TSelf>es to choose from

Properties

SelectedTemplate

The name of the Template<TSelf> the user selected; null if none.

public string SelectedTemplate { get; }

Property Value

string