1 type derived from PrintPreviewControl
System.Windows.Forms.Tests (1)
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
182private class SubPrintPreviewControl : PrintPreviewControl
14 instantiations of PrintPreviewControl
Accessibility_Core_App (1)
PrintingControls.Designer.cs (1)
43this.printPreviewControl1 = new System.Windows.Forms.PrintPreviewControl();
System.Windows.Forms (1)
System\Windows\Forms\Printing\PrintPreviewDialog.cs (1)
55_previewControl = new PrintPreviewControl();
System.Windows.Forms.Tests (12)
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (8)
14using PrintPreviewControl control = new(); 26using PrintPreviewControl control = new() 43using PrintPreviewControl control = new(); 57using PrintPreviewControl control = new(); 70using PrintPreviewControl control = new(); 81using PrintPreviewControl control = new(); 99using PrintPreviewControl control = new(); 110using PrintPreviewControl control = new();
System\Windows\Forms\BinaryFormat\WinFormsBinaryFormattedObjectTests.cs (1)
281{ new PrintPreviewControl(), new string[] { "DataContext: Object", "Tag: Object" } },
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (1)
16using PrintPreviewControl control = new();
System\Windows\Forms\Printing\PrintPreviewControlTests.cs (2)
14PrintPreviewControl control = new(); 28PrintPreviewControl control = new();
46 references to PrintPreviewControl
Accessibility_Core_App (1)
PrintingControls.Designer.cs (1)
191private System.Windows.Forms.PrintPreviewControl printPreviewControl1;
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;
System.Windows.Forms.Tests (21)
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (16)
14using PrintPreviewControl control = new(); 15PrintPreviewControl.PrintPreviewControlAccessibleObject accessibleObject = new(control); 26using PrintPreviewControl control = new() 33var accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 43using PrintPreviewControl control = new(); 45var accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 57using PrintPreviewControl control = new(); 60var accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 70using PrintPreviewControl control = new(); 72AccessibleObject accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 81using PrintPreviewControl control = new(); 89AccessibleObject accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 99using PrintPreviewControl control = new(); 101AccessibleObject accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control); 110using PrintPreviewControl control = new(); 115AccessibleObject accessibleObject = new PrintPreviewControl.PrintPreviewControlAccessibleObject(control);
System\Windows\Forms\Printing\PrintPreviewControl.PrintPreviewControlAccessibilityObjectTests.cs (3)
6using static System.Windows.Forms.PrintPreviewControl; 16using PrintPreviewControl control = new(); 28Assert.Throws<ArgumentNullException>(() => new PrintPreviewControl.PrintPreviewControlAccessibleObject(null));
System\Windows\Forms\Printing\PrintPreviewControlTests.cs (2)
14PrintPreviewControl control = new(); 28PrintPreviewControl control = new();