DekGenius.com
[ Team LiB ] Previous Section Next Section

PrintPreviewDialogmarshal by reference, disposable

System.Windows.Forms (system.windows.forms.dll)class

This Form hosts the PrintPreviewControl to provide a print preview facility in your application, including the standard control buttons you require to alter the zoom factor, display page layout (including the range of pages to view), and to start a print to the default print device.

It exposes the same programmatic interface as the PrintPreviewControl, through delegation.

public class PrintPreviewDialog : Form {
// Public Constructors
   public PrintPreviewDialog();
// Public Instance Properties
   public IButtonControl AcceptButton{set; get; }
// overrides Form
   public string AccessibleDescription{set; get; }
// overrides Control
   public string AccessibleName{set; get; }
// overrides Control
   public AccessibleRole AccessibleRole{set; get; }
// overrides Control
   public override bool AllowDrop{set; get; }
// overrides Control
   public override AnchorStyles Anchor{set; get; }
// overrides Control
   public bool AutoScale{set; get; }
// overrides Form
   public override Size AutoScaleBaseSize{set; get; }
// overrides Form
   public override bool AutoScroll{set; get; }
// overrides Form
   public Size AutoScrollMargin{set; get; }
// overrides ScrollableControl
   public Size AutoScrollMinSize{set; get; }
// overrides ScrollableControl
   public override Color BackColor{set; get; }
// overrides Form
   public override Image BackgroundImage{set; get; }
// overrides Control
   public IButtonControl CancelButton{set; get; }
// overrides Form
   public bool CausesValidation{set; get; }
// overrides Control
   public override ContextMenu ContextMenu{set; get; }
// overrides Control
   public bool ControlBox{set; get; }
// overrides Form
   public override Cursor Cursor{set; get; }
// overrides Control
   public ControlBindingsCollection DataBindings{get; }
// overrides Control
   public override DockStyle Dock{set; get; }
// overrides Control
   public DockPaddingEdges DockPadding{get; }
// overrides ScrollableControl
   public PrintDocument Document{set; get; }
   public bool Enabled{set; get; }
// overrides Control
   public override Font Font{set; get; }
// overrides Control
   public override Color ForeColor{set; get; }
// overrides Control
   public FormBorderStyle FormBorderStyle{set; get; }
// overrides Form
   public bool HelpButton{set; get; }
// overrides Form
   public Icon Icon{set; get; }
// overrides Form
   public ImeMode ImeMode{set; get; }
// overrides Control
   public bool IsMdiContainer{set; get; }
// overrides Form
   public bool KeyPreview{set; get; }
// overrides Form
   public Point Location{set; get; }
// overrides Control
   public bool MaximizeBox{set; get; }
// overrides Form
   public Size MaximumSize{set; get; }
// overrides Form
   public MainMenu Menu{set; get; }
// overrides Form
   public bool MinimizeBox{set; get; }
// overrides Form
   public Size MinimumSize{set; get; }
// overrides Form
   public double Opacity{set; get; }
// overrides Form
   public PrintPreviewControl PrintPreviewControl{get; }
   public override RightToLeft RightToLeft{set; get; }
// overrides Control
   public bool ShowInTaskbar{set; get; }
// overrides Form
   public Size Size{set; get; }
// overrides Form
   public SizeGripStyle SizeGripStyle{set; get; }
// overrides Form
   public FormStartPosition StartPosition{set; get; }
// overrides Form
   public bool TabStop{set; get; }
// overrides Control
   public object Tag{set; get; }
// overrides Control
   public override string Text{set; get; }
// overrides Control
   public bool TopMost{set; get; }
// overrides Form
   public Color TransparencyKey{set; get; }
// overrides Form
   public bool UseAntiAlias{set; get; }
   public bool Visible{set; get; }
// overrides Control
   public FormWindowState WindowState{set; get; }
// overrides Form
// Protected Instance Methods
   protected override void CreateHandle();  // overrides Form
   protected override void OnClosing(System.ComponentModel.CancelEventArgs e);  // overrides Form
}

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponen, System.IDisposable) Control(IOleContro, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, System.ComponentModel.ISynchronizeInvoke, IWin32Window) ScrollableControl ContainerControl(IContainerControl) Form PrintPreviewDialog

    [ Team LiB ] Previous Section Next Section