38 instantiations of SplitterPanel
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (2)
96
Panel1 = new
SplitterPanel
(this);
99
Panel2 = new
SplitterPanel
(this);
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (1)
18
using SplitterPanel splitterPanel =
new
(splitContainer);
System.Windows.Forms.Tests (35)
System\Windows\Forms\SplitterPanelTests.cs (35)
25
using SplitterPanel control =
new
(owner);
111
using SplitterPanel control =
new
(null)
130
using SplitterPanel control =
new
(null);
155
using SplitterPanel control =
new
(null)
195
using SplitterPanel control =
new
(null);
217
using SplitterPanel control =
new
(null)
247
using SplitterPanel control =
new
(null);
278
using SplitterPanel control =
new
(null)
332
using SplitterPanel control =
new
(null)
351
using SplitterPanel control =
new
(null);
380
using SplitterPanel control =
new
(null);
388
using SplitterPanel control =
new
(null)
404
using SplitterPanel control =
new
(null)
443
using SplitterPanel control =
new
(null);
454
using SplitterPanel control =
new
(null);
515
using SplitterPanel control =
new
(null);
588
using SplitterPanel control =
new
(null);
643
using SplitterPanel control =
new
(null)
668
using SplitterPanel control =
new
(null)
699
using SplitterPanel control =
new
(null)
723
using SplitterPanel control =
new
(null)
740
using SplitterPanel control =
new
(null);
786
using SplitterPanel control =
new
(null);
873
using SplitterPanel control =
new
(null)
889
using SplitterPanel control =
new
(null)
927
using SplitterPanel control =
new
(null);
935
using SplitterPanel control =
new
(null)
957
using SplitterPanel control =
new
(null);
993
using SplitterPanel control =
new
(null)
1032
using SplitterPanel control =
new
(null)
1049
using SplitterPanel control =
new
(null);
1077
using SplitterPanel control =
new
(null);
1113
using SplitterPanel control =
new
(null)
1134
using SplitterPanel control =
new
(null)
1176
using SplitterPanel control =
new
(null);
74 references to SplitterPanel
DesignSurface (2)
MainForm.cs (2)
347
SplitterPanel
splitterPanel1 = splitContainer.Panel1;
348
SplitterPanel
splitterPanel2 = splitContainer.Panel2;
System.Windows.Forms (22)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (11)
249
if (ParentInternal is
SplitterPanel
splitterPanel)
310
if (ParentInternal is
SplitterPanel
splitterPanel)
479
public
SplitterPanel
Panel1 { get; }
484
private void CollapsePanel(
SplitterPanel
p, bool collapsing)
600
public
SplitterPanel
Panel2 { get; }
1834
SplitterPanel
? firstPanel = null;
1839
if (ctl is
SplitterPanel
panel && panel.Visible)
1940
if (ctl is null || (ctl is
SplitterPanel
&& ctl.Visible))
1964
if (ctl is null || (ctl is
SplitterPanel
&& !ctl.Visible))
2029
if (control is
SplitterPanel
panel)
2424
return new SplitContainerTypedControlCollection(this, typeof(
SplitterPanel
), /*isReadOnly*/true);
System\Windows\Forms\Layout\Containers\SplitContainer.SplitContainerTypedControlCollection.cs (2)
24
if (value is
SplitterPanel
&& !_owner.DesignMode && IsReadOnly)
34
if (child is not
SplitterPanel
)
System\Windows\Forms\Panels\SplitterPanel.cs (9)
23
/// Gets or sets a value that indicates whether the <see cref="
SplitterPanel
" /> is automatically
88
/// <see cref="
SplitterPanel
" /> is docked to.
93
/// that the <see cref="
SplitterPanel
" /> is docked to.
180
/// The name of this <see cref="
SplitterPanel
" />.
183
/// <value>The name of this <see cref="
SplitterPanel
" />.</value>
200
/// Gets or sets the <see cref="SplitContainer" /> that contains this <see cref="
SplitterPanel
" />.
204
/// A control representing the <see cref="SplitContainer" /> that contains this <see cref="
SplitterPanel
" />.
241
/// <see cref="
SplitterPanel
" /> using the TAB key.
254
/// Gets or sets a value that indicates whether the <see cref="
SplitterPanel
" /> is displayed.
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\SplitContainerDesigner.cs (9)
24
private
SplitterPanel
? _selectedPanel;
26
private
SplitterPanel
? _splitterPanel1, _splitterPanel2;
91
SplitterPanel
panel;
112
internal
SplitterPanel
? Selected
146
foreach (
SplitterPanel
panel in _splitContainer!.Controls)
381
if (g.RelatedComponent is not
SplitterPanel
)
409
SplitterPanel
? panel = CheckIfPanelSelected(comp);
431
private static
SplitterPanel
? CheckIfPanelSelected(object comp) => comp as
SplitterPanel
;
System\Windows\Forms\Design\SplitterPanelDesigner.cs (2)
21
private
SplitterPanel
? _splitterPanel;
108
_splitterPanel = (
SplitterPanel
)component;
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\SplitterPanelDesignerTests.cs (2)
18
using
SplitterPanel
splitterPanel = new(splitContainer);
49
((
SplitterPanel
)splitterPanelDesigner.TestAccessor().Dynamic._splitterPanel).Should().Be(splitterPanel);
System.Windows.Forms.Tests (37)
System\Windows\Forms\SplitContainer.SplitContainerTypedControlCollectionTests.cs (2)
14
SplitContainer.SplitContainerTypedControlCollection collection = new(owner, typeof(
SplitterPanel
), false);
24
Assert.Throws<ArgumentNullException>("owner", () => new SplitContainer.SplitContainerTypedControlCollection(null, typeof(
SplitterPanel
), false));
System\Windows\Forms\SplitterPanelTests.cs (35)
25
using
SplitterPanel
control = new(owner);
111
using
SplitterPanel
control = new(null)
130
using
SplitterPanel
control = new(null);
155
using
SplitterPanel
control = new(null)
195
using
SplitterPanel
control = new(null);
217
using
SplitterPanel
control = new(null)
247
using
SplitterPanel
control = new(null);
278
using
SplitterPanel
control = new(null)
332
using
SplitterPanel
control = new(null)
351
using
SplitterPanel
control = new(null);
380
using
SplitterPanel
control = new(null);
388
using
SplitterPanel
control = new(null)
404
using
SplitterPanel
control = new(null)
443
using
SplitterPanel
control = new(null);
454
using
SplitterPanel
control = new(null);
515
using
SplitterPanel
control = new(null);
588
using
SplitterPanel
control = new(null);
643
using
SplitterPanel
control = new(null)
668
using
SplitterPanel
control = new(null)
699
using
SplitterPanel
control = new(null)
723
using
SplitterPanel
control = new(null)
740
using
SplitterPanel
control = new(null);
786
using
SplitterPanel
control = new(null);
873
using
SplitterPanel
control = new(null)
889
using
SplitterPanel
control = new(null)
927
using
SplitterPanel
control = new(null);
935
using
SplitterPanel
control = new(null)
957
using
SplitterPanel
control = new(null);
993
using
SplitterPanel
control = new(null)
1032
using
SplitterPanel
control = new(null)
1049
using
SplitterPanel
control = new(null);
1077
using
SplitterPanel
control = new(null);
1113
using
SplitterPanel
control = new(null)
1134
using
SplitterPanel
control = new(null)
1176
using
SplitterPanel
control = new(null);