System.Windows.Forms.PrintPreviewDialog Members

The members of System.Windows.Forms.PrintPreviewDialog are listed below.

See Also: Inherited members from System.Windows.Forms.Form

Public Constructors

Initializes a new instance of the System.Windows.Forms.PrintPreviewDialog class.

Public Properties

AcceptButtonIButtonControl.

Gets or sets the button on the form that is clicked when the user presses the ENTER key.

AccessibleDescriptionstring.

Gets or sets the accessible description of the control.

AccessibleNamestring.

Gets or sets the accessible name of the control.

AccessibleRoleAccessibleRole.

The accessible role of the control.

override
AllowDropbool.

Gets or sets whether the control can accept data that the user drags onto it.

override
AnchorAnchorStyles.

Gets or sets the anchor style for the control.

AutoScalebool.

Gets or sets a value indicating whether the form adjusts its size to fit the height of the font used on the form and scales its controls.

override
AutoScaleBaseSizeSystem.Drawing.Size.

The System.Windows.Forms.PrintPreviewDialog class does not support the PrintPreviewDialog.AutoScaleBaseSize property.

override
AutoScrollbool.

Gets or sets a value indicating whether the form enables autoscrolling.

AutoScrollMarginSystem.Drawing.Size.

Gets or sets the size of the auto-scroll margin.

AutoScrollMinSizeSystem.Drawing.Size.

Gets or sets the minimum size of the automatic scroll bars.

override
AutoSizebool.

Gets or sets a value indicating whether the System.Windows.Forms.PrintPreviewDialog should automatically resize to fit its contents.

override
AutoValidateAutoValidate.

Gets or sets how the control performs validation when the user changes focus to another control.

override
BackColorSystem.Drawing.Color.

Gets or sets the background color of the form.

override
BackgroundImageSystem.Drawing.Image.

Gets or sets the background image for the control.

override
BackgroundImageLayoutImageLayout.

Gets or sets the layout of the PrintPreviewDialog.BackgroundImage.

CancelButtonIButtonControl.

Gets or sets the cancel button for the System.Windows.Forms.PrintPreviewDialog.

CausesValidationbool.

Gets or sets a value indicating whether entering the control causes validation for all controls that require validation.

override
ContextMenuContextMenu.

Gets or sets the shortcut menu for the control.

override
ContextMenuStripContextMenuStrip.

Gets or sets how the short cut menu for the control.

ControlBoxbool.

Gets or sets a value indicating whether a control box is displayed in the caption bar of the form.

override
CursorCursor.

Gets or sets the cursor for the control.

[read-only]
DataBindingsControlBindingsCollection.

Gets the data bindings for the control.

override
DockDockStyle.

Gets or sets how the control should be docked in its parent control.

[read-only]
DockPaddingScrollableControl.DockPaddingEdges.

Overrides the ScrollableControl.DockPadding property.

DocumentSystem.Drawing.Printing.PrintDocument.

Gets or sets the document to preview.

Enabledbool.

Get or sets a value indicating whether the control is enabled.

override
FontSystem.Drawing.Font.

Gets or sets the font used for the control.

override
ForeColorSystem.Drawing.Color.

Gets or sets the foreground color of the control.

FormBorderStyleFormBorderStyle.

Gets or sets the border style of the form.

HelpButtonbool.

Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form.

IconSystem.Drawing.Icon.

Gets or sets the icon for the form.

ImeModeImeMode.

Gets or sets the Input Method Editor (IME) mode supported by this control.

IsMdiContainerbool.

Gets or sets a value indicating whether the form is a container for multiple document interface (MDI) child forms.

KeyPreviewbool.

Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus.

LocationSystem.Drawing.Point.

Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

MarginPadding.

Gets or sets the margins for the control.

MaximizeBoxbool.

Gets or sets a value indicating whether the maximize button is displayed in the caption bar of the form.

MaximumSizeSystem.Drawing.Size.

Gets or sets the maximum size the form can be resized to.

MenuMainMenu.

Gets or sets the System.Windows.Forms.MainMenu that is displayed in the form.

MinimizeBoxbool.

Gets or sets a value indicating whether the minimize button is displayed in the caption bar of the form.

MinimumSizeSystem.Drawing.Size.

Gets the minimum size the form can be resized to.

Opacitydouble.

Gets or sets the opacity level of the form.

PaddingPadding.

Gets or sets the padding for the control.

[read-only]
PrintPreviewControlPrintPreviewControl.

Gets a value indicating the System.Windows.Forms.PrintPreviewControl contained in this form.

override
RightToLeftRightToLeft.

Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

override
RightToLeftLayoutbool.

Gets or sets a value indicating whether the System.Windows.Forms.PrintPreviewDialog should be laid out from right to left.

ShowInTaskbarbool.

Gets or sets a value indicating whether the form is displayed in the Windows taskbar.

SizeSystem.Drawing.Size.

Gets or sets the size of the form.

SizeGripStyleSizeGripStyle.

Gets or sets the style of the size grip to display in the lower-right corner of the form.

StartPositionFormStartPosition.

Gets or sets the starting position of the dialog box at run time.

TabStopbool.

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

Tagobject.

Gets or sets the object that contains data about the control.

override
Textstring.

Gets or sets the text displayed on the control.

TopMostbool.

Gets or sets a value indicating whether the form should be displayed as the topmost form of your application.

TransparencyKeySystem.Drawing.Color.

Gets or sets the color that will represent transparent areas of the form.

UseAntiAliasbool.

Gets or sets a value indicating whether printing uses the anti-aliasing features of the operating system.

UseWaitCursorbool.

Gets the wait cursor, typically an hourglass shape.

Visiblebool.

Gets or sets a value indicating whether the control is visible.

WindowStateFormWindowState.

Gets or sets the form's window state.

Protected Properties

[read-only]
override
DefaultMinimumSizeSystem.Drawing.Size.

Gets the default minimum size, in pixels, of the System.Windows.Forms.PrintPreviewDialog control.

Protected Methods

override
CreateHandle()

Creates the handle for the form that encapsulates the System.Windows.Forms.PrintPreviewDialog.

override
OnClosing(System.ComponentModel.CancelEventArgs)

Raises the Form.Closing event.

override
ProcessDialogKey(Keys) : bool

Determines whether a key should be processed further.

override
ProcessTabKey(bool) : bool

Processes the TAB key.

Public Events

AutoSizeChanged

Occurs when the value of the PrintPreviewDialog.AutoSize property changes.

AutoValidateChanged

Occurs when the value of the Form.AutoValidate property changes.

BackColorChanged

Occurs when the value of the PrintPreviewDialog.BackColor property changes.

BackgroundImageChanged

Occurs when the value of the PrintPreviewDialog.BackgroundImage property changes.

BackgroundImageLayoutChanged

Occurs when the value of the PrintPreviewDialog.BackgroundImageLayout property changes.

CausesValidationChanged

Occurs when the value of the PrintPreviewDialog.CausesValidation property changes.

ContextMenuChanged

Occurs when the value of the PrintPreviewDialog.ContextMenu property changes.

ContextMenuStripChanged

Occurs when the value of the PrintPreviewDialog.ContextMenuStrip property changes.

CursorChanged

Occurs when the value of the PrintPreviewDialog.Cursor property changes.

DockChanged

Occurs when the value of the PrintPreviewDialog.Dock property changes.

EnabledChanged

Occurs when the value of the PrintPreviewDialog.Enabled property changes.

FontChanged

Occurs when the value of the PrintPreviewDialog.Font property changes.

ForeColorChanged

Occurs when the value of the PrintPreviewDialog.ForeColor property changes.

ImeModeChanged

Occurs when the value of the PrintPreviewDialog.ImeMode property changes.

LocationChanged

Occurs when the value of the PrintPreviewDialog.Location property changes.

MarginChanged

Occurs when the value of the PrintPreviewDialog.Margin property changes.

MaximumSizeChanged

Occurs when the value of the PrintPreviewDialog.MaximumSize property changes.

MinimumSizeChanged

Occurs when the value of the PrintPreviewDialog.MinimumSize property changes.

PaddingChanged

Occurs when the value of the PrintPreviewDialog.Padding property changes.

RightToLeftChanged

Occurs when the value of the PrintPreviewDialog.RightToLeft property changes.

RightToLeftLayoutChanged

Occurs when value of the PrintPreviewDialog.RightToLeftLayout property changes.

SizeChanged

Occurs when the value of the PrintPreviewDialog.Size property changes.

TabStopChanged

Occurs when the value of the PrintPreviewDialog.TabStop property changes.

TextChanged

Occurs when the value of the PrintPreviewDialog.Text property changes.

VisibleChanged

Occurs when the value of the PrintPreviewDialog.Visible property changes.