1 instantiation of PrintPreviewControl
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
55_previewControl = new PrintPreviewControl();
24 references to PrintPreviewControl
System.Windows.Forms (24)
System\Windows\Forms\Printing\PrintPreviewControl.cs (2)
13/// The raw "preview" part of print previewing, without any dialogs or buttons. Most <see cref="PrintPreviewControl"/> 54/// Initializes a new instance of the <see cref="PrintPreviewControl"/> class.
System\Windows\Forms\Printing\PrintPreviewControl.HorizontalScrollBar.cs (1)
11new PrintPreviewControl.ScrollBarAccessibleObject(this);
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (14)
15public PrintPreviewControlAccessibleObject(PrintPreviewControl owner) : base(owner) 20=> !this.TryGetOwnerAs(out PrintPreviewControl? owner) ? default : propertyID switch 30if (!this.TryGetOwnerAs(out PrintPreviewControl? owner)) 42if (!this.TryGetOwnerAs(out PrintPreviewControl? owner)) 63UIA_PATTERN_ID.UIA_ScrollPatternId => this.TryGetOwnerAs(out PrintPreviewControl? owner) 72if (!this.TryGetOwnerAs(out PrintPreviewControl? owner)) 97if (!this.TryGetOwnerAs(out PrintPreviewControl? owner)) 154if (!this.TryGetOwnerAs(out PrintPreviewControl? owner)) 179if (this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._hScrollBar.Visible) 193if (this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._vScrollBar.Visible) 203public double HorizontalViewSize => this.TryGetOwnerAs(out PrintPreviewControl? owner) 206public double VerticalViewSize => this.TryGetOwnerAs(out PrintPreviewControl? owner) 210this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._hScrollBar.Visible; 213this.TryGetOwnerAs(out PrintPreviewControl? owner) && owner._vScrollBar.Visible;
System\Windows\Forms\Printing\PrintPreviewControl.ScrollBarAccessibleObject.cs (2)
17this.TryGetOwnerAs(out ScrollBar? scrollBar) && scrollBar.Parent is PrintPreviewControl printPreviewControl 25if (!this.TryGetOwnerAs(out ScrollBar? scrollBar) || scrollBar.Parent is not PrintPreviewControl printPreviewControl)
System\Windows\Forms\Printing\PrintPreviewControl.VerticalScrollBar.cs (1)
11new PrintPreviewControl.ScrollBarAccessibleObject(this);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (4)
11/// Represents a dialog box form that contains a <see cref="Forms.PrintPreviewControl"/>. 21private readonly PrintPreviewControl _previewControl; 700/// Gets the <see cref="Forms.PrintPreviewControl"/> contained in this form. 705public PrintPreviewControl PrintPreviewControl => _previewControl;