CommandSet.ProcessOnMenuPageSetupCommand Method
Opens the Page Setup dialog box. Override this method to alter this behavior.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function ProcessOnMenuPageSetupCommand As DialogResult
protected virtual DialogResult ProcessOnMenuPageSetupCommand()
protected:
virtual DialogResult ProcessOnMenuPageSetupCommand()
abstract ProcessOnMenuPageSetupCommand : unit -> DialogResult
override ProcessOnMenuPageSetupCommand : unit -> DialogResult
protected function ProcessOnMenuPageSetupCommand() : DialogResult
Return Value
Type: System.Windows.Forms.DialogResult
Remarks
To alter the default behavior, override this method in YourLanguageCommandSet.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.