diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 706009107..ff402a9ed 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -310,6 +310,11 @@ namespace HandBrakeWPF.ViewModels /// </summary>
private bool clearQueueOnEncodeCompleted;
+ /// <summary>
+ /// The options tab that is selected.
+ /// </summary>
+ private string selectedTab;
+
#endregion
#region Constructors and Destructors
@@ -332,8 +337,41 @@ namespace HandBrakeWPF.ViewModels this.userSettingService = userSettingService;
this.shellViewModel = shellViewModel;
this.OnLoad();
+
+ this.SelectedTab = "General";
+ }
+
+ #endregion
+
+ #region Window Properties
+
+ /// <summary>
+ /// Gets OptionTabs.
+ /// </summary>
+ public IEnumerable<string> OptionTabs
+ {
+ get
+ {
+ return new List<string> { "General", "Output Files", "Language", "Advanced" };
+ }
}
+ /// <summary>
+ /// Gets or sets SelectedTab.
+ /// </summary>
+ public string SelectedTab
+ {
+ get
+ {
+ return this.selectedTab;
+ }
+
+ set
+ {
+ this.selectedTab = value;
+ this.NotifyOfPropertyChange(() => this.SelectedTab);
+ }
+ }
#endregion
#region Properties
|