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)
11
new
PrintPreviewControl
.ScrollBarAccessibleObject(this);
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibleObject.cs (14)
15
public PrintPreviewControlAccessibleObject(
PrintPreviewControl
owner) : base(owner)
20
=> !this.TryGetOwnerAs(out
PrintPreviewControl
? owner) ? default : propertyID switch
30
if (!this.TryGetOwnerAs(out
PrintPreviewControl
? owner))
42
if (!this.TryGetOwnerAs(out
PrintPreviewControl
? owner))
63
UIA_PATTERN_ID.UIA_ScrollPatternId => this.TryGetOwnerAs(out
PrintPreviewControl
? owner)
72
if (!this.TryGetOwnerAs(out
PrintPreviewControl
? owner))
97
if (!this.TryGetOwnerAs(out
PrintPreviewControl
? owner))
154
if (!this.TryGetOwnerAs(out
PrintPreviewControl
? owner))
179
if (this.TryGetOwnerAs(out
PrintPreviewControl
? owner) && owner._hScrollBar.Visible)
193
if (this.TryGetOwnerAs(out
PrintPreviewControl
? owner) && owner._vScrollBar.Visible)
203
public double HorizontalViewSize => this.TryGetOwnerAs(out
PrintPreviewControl
? owner)
206
public double VerticalViewSize => this.TryGetOwnerAs(out
PrintPreviewControl
? owner)
210
this.TryGetOwnerAs(out
PrintPreviewControl
? owner) && owner._hScrollBar.Visible;
213
this.TryGetOwnerAs(out
PrintPreviewControl
? owner) && owner._vScrollBar.Visible;
System\Windows\Forms\Printing\PrintPreviewControl.ScrollBarAccessibleObject.cs (2)
17
this.TryGetOwnerAs(out ScrollBar? scrollBar) && scrollBar.Parent is
PrintPreviewControl
printPreviewControl
25
if (!this.TryGetOwnerAs(out ScrollBar? scrollBar) || scrollBar.Parent is not
PrintPreviewControl
printPreviewControl)
System\Windows\Forms\Printing\PrintPreviewControl.VerticalScrollBar.cs (1)
11
new
PrintPreviewControl
.ScrollBarAccessibleObject(this);
System\Windows\Forms\Printing\PrintPreviewDialog.cs (4)
11
/// Represents a dialog box form that contains a <see cref="Forms.
PrintPreviewControl
"/>.
21
private readonly
PrintPreviewControl
_previewControl;
700
/// Gets the <see cref="Forms.
PrintPreviewControl
"/> contained in this form.
705
public
PrintPreviewControl
PrintPreviewControl => _previewControl;