Property | Type | Description | |
---|---|---|---|
ColumnSizer_Tick | void | ||
InitializeComponent | void | ||
ModTaggerForm_FormClosing | void | ||
butOK_Click | void | ||
lvwTagCandidates_ColumnWidthChanging | void | ||
lvwTagCandidates_Resize | void | ||
lvwTagCandidates_SelectedIndexChanged | void |
Method | Description | |
---|---|---|
ModTaggerForm ( |
A simple constructor that initializes the object with the given dependencies.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnLoad ( |
Raises the UserControl.Load event of the control. This loads any saved control metrics. |
|
SizeColumnsToFit ( ) : void |
This resizes the columns to fill the list view. The index column is fixed width.
|
Method | Description | |
---|---|---|
ColumnSizer_Tick ( object sender, |
Handles the Timer.Tick event of the column sizer timer. We use a timer to autosize the columns in the list view. This is because there is a bug in the control such that if we reszize the columns continuously while the list view is being resized, the item will sometimes disappear. To work around this, the list view resize event continually resets the timer. This means the timer will only fire occasionally during the resize, and avoid the disappearing items issue. |
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
ModTaggerForm_FormClosing ( object sender, |
Handles the Form.Closing event of the parent form. This save the control's metrics. |
|
butOK_Click ( object sender, |
Handles the Control.Click event of the OK button. This save the edited tags. |
|
lvwTagCandidates_ColumnWidthChanging ( object sender, System.Windows.Forms.ColumnWidthChangingEventArgs e ) : void |
Handles the ListView.ColumnWidthChanging event of the plugin list. This resizes the column next to the column being resized to resize as well, so that the columns keep the list view filled. |
|
lvwTagCandidates_Resize ( object sender, |
Handles the Control.Resize event of the plugin list. This resizes the columns to fill the list view. The index column is fixed width. |
|
lvwTagCandidates_SelectedIndexChanged ( object sender, |
Handles the ListView.SelectedIndexChanged event of the list of tag candidates. This loads the selected candidate into the tag editor. |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
public ModTaggerForm ( |
||
p_mtgTaggerVM | The view model that provides the data and operations for this view. | |
return | System |
protected OnLoad ( |
||
e | An |
|
return | void |