C# Class Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionallyInstalledFileSetOrderEditor

Show file Open project: NexusMods/NexusModManager-4.5

Private Properties

Property Type Description
rlvConditionalInstalls_ItemsReordered void
rlvConditionalInstalls_Resize void

Public Methods

Method Description
ConditionallyInstalledFileSetOrderEditor ( ConditionallyInstalledFileSetOrderEditorVM p_vmlViewModel ) : System

A simple constructor that initializes the view with its dependencies.

GetViewModel ( ) : IViewModel

Gets the view model of the editor.

Protected Methods

Method Description
BindConditionallyInstalledFileSets ( IList p_lstConditionallyInstalledFileSets ) : void

Binds the ConditionallyInstalledFileSets whose order is being edited to the UI.

Private Methods

Method Description
rlvConditionalInstalls_ItemsReordered ( object sender, ReorderedItemsEventArgs e ) : void

Handles the ReorderableListView.ItemsReordered event of the list view of file sets.

This propagates the order change to the view model.

rlvConditionalInstalls_Resize ( object sender, EventArgs e ) : void

Handles the Control.Resize event of the list view of file sets.

This resizes the list view's columns.

Method Details

BindConditionallyInstalledFileSets() protected method

Binds the ConditionallyInstalledFileSets whose order is being edited to the UI.
protected BindConditionallyInstalledFileSets ( IList p_lstConditionallyInstalledFileSets ) : void
p_lstConditionallyInstalledFileSets IList The s /// whose order is being edited.
return void

ConditionallyInstalledFileSetOrderEditor() public method

A simple constructor that initializes the view with its dependencies.
public ConditionallyInstalledFileSetOrderEditor ( ConditionallyInstalledFileSetOrderEditorVM p_vmlViewModel ) : System
p_vmlViewModel ConditionallyInstalledFileSetOrderEditorVM The view model that provides the data and operations for this view.
return System

GetViewModel() public method

Gets the view model of the editor.
public GetViewModel ( ) : IViewModel
return IViewModel