Class BaseOptionPage<T>
A base class for a DialogPage to show in Tools -> Options.
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.VisualStudio.Shell.DialogPage
BaseOptionPage<T>
Implements
System.ComponentModel.IComponent
System.IDisposable
System.Windows.Forms.IWin32Window
Microsoft.VisualStudio.Shell.IProfileManager
Inherited Members
Microsoft.VisualStudio.Shell.DialogPage.FinishPendingWorkAsync()
Microsoft.VisualStudio.Shell.DialogPage.Dispose(System.Boolean)
Microsoft.VisualStudio.Shell.DialogPage.LoadSettingFromStorage(System.ComponentModel.PropertyDescriptor)
Microsoft.VisualStudio.Shell.DialogPage.LoadSettingsFromXml(Microsoft.VisualStudio.Shell.Interop.IVsSettingsReader)
Microsoft.VisualStudio.Shell.DialogPage.ResetSettings()
Microsoft.VisualStudio.Shell.DialogPage.OnActivate(System.ComponentModel.CancelEventArgs)
Microsoft.VisualStudio.Shell.DialogPage.OnClosed(System.EventArgs)
Microsoft.VisualStudio.Shell.DialogPage.OnDeactivate(System.ComponentModel.CancelEventArgs)
Microsoft.VisualStudio.Shell.DialogPage.OnApply(Microsoft.VisualStudio.Shell.DialogPage.PageApplyEventArgs)
Microsoft.VisualStudio.Shell.DialogPage.IsPropertyValueMachineLocal(System.ComponentModel.PropertyDescriptor, System.Object, System.String)
Microsoft.VisualStudio.Shell.DialogPage.SaveSetting(System.ComponentModel.PropertyDescriptor)
Microsoft.VisualStudio.Shell.DialogPage.SaveSettingsToXml(Microsoft.VisualStudio.Shell.Interop.IVsSettingsWriter)
Microsoft.VisualStudio.Shell.DialogPage.GetSharedSettingsStorePath(System.ComponentModel.PropertyDescriptor)
Microsoft.VisualStudio.Shell.DialogPage.Site
Microsoft.VisualStudio.Shell.DialogPage.Window
Microsoft.VisualStudio.Shell.DialogPage.SettingsRegistryPath
Microsoft.VisualStudio.Shell.DialogPage.SharedSettingsStorePath
System.ComponentModel.Component.Dispose()
System.ComponentModel.Component.GetService(System.Type)
System.ComponentModel.Component.ToString()
System.ComponentModel.Component.CanRaiseEvents
System.ComponentModel.Component.Events
System.ComponentModel.Component.Container
System.ComponentModel.Component.DesignMode
System.ComponentModel.Component.Disposed
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.CreateObjRef(System.Type)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Community.VisualStudio.Toolkit
Assembly: Community.VisualStudio.Toolkit.dll
Syntax
public class BaseOptionPage<T> : DialogPage, IComponent, IDisposable, IWin32Window, IProfileManager where T : BaseOptionModel<T>, new()
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceBaseOptionPage()
Creates a new instance of the options page.
Declaration
public BaseOptionPage()
Properties
| Improve this Doc View SourceAutomationObject
The model object to load and store.
Declaration
public override object AutomationObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
Microsoft.VisualStudio.Shell.DialogPage.AutomationObject
Methods
| Improve this Doc View SourceLoadSettingsFromStorage()
Loads the settings from the internal storage.
Declaration
public override void LoadSettingsFromStorage()
Overrides
Microsoft.VisualStudio.Shell.DialogPage.LoadSettingsFromStorage()
|
Improve this Doc
View Source
SaveSettingsToStorage()
Saves settings to the internal storage.
Declaration
public override void SaveSettingsToStorage()
Overrides
Microsoft.VisualStudio.Shell.DialogPage.SaveSettingsToStorage()
Implements
System.ComponentModel.IComponent
System.IDisposable
System.Windows.Forms.IWin32Window
Microsoft.VisualStudio.Shell.IProfileManager