AlphaFramework API  1.0.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | List of all members
AlphaFramework.Editor.World.Dialogs.SelectTemplateDialog< T > Class Template Reference

Dialog for selecting Template{T}es (with a preview pane). More...

Inheritance diagram for AlphaFramework.Editor.World.Dialogs.SelectTemplateDialog< T >:
NanoByte::Common::Controls::OKCancelDialog

Public Member Functions

 SelectTemplateDialog (NamedCollection< T > templates)
 Creates a new Template{T} selection dialog More...
 

Public Attributes

string SelectedTemplate => _templateList.SelectedEntry?.Name
 The name of the Template{T} the user selected; null if none. More...
 

Detailed Description

Dialog for selecting Template{T}es (with a preview pane).

Template Parameters
TThe type of Template{T}es to select.

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

Type Constraints
T :Template<T> 

Constructor & Destructor Documentation

AlphaFramework.Editor.World.Dialogs.SelectTemplateDialog< T >.SelectTemplateDialog ( NamedCollection< T >  templates)
inline

Creates a new Template{T} selection dialog

Parameters
templatesThe list of Template{T}es to choose from

Member Data Documentation

string AlphaFramework.Editor.World.Dialogs.SelectTemplateDialog< T >.SelectedTemplate => _templateList.SelectedEntry?.Name

The name of the Template{T} the user selected; null if none.


The documentation for this class was generated from the following file: