1 write to _commandsPane
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
219
_commandsPane
= new CommandsPane(this);
75 references to _commandsPane
System.Windows.Forms (75)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (75)
220
using SuspendLayoutScope suspendCommandsPaneLayout = new(
_commandsPane
, performLayout: false);
221
_commandsPane
.TabIndex = 3;
222
_commandsPane
.Dock = DockStyle.None;
224
_commandsPane
.Visible = false;
225
_commandsPane
.MouseMove += OnChildMouseMove;
226
_commandsPane
.MouseDown += OnChildMouseDown;
228
Controls.AddRange([_helpPane,
_commandsPane
, _gridView, _toolStrip]);
396
public virtual bool CanShowCommands =>
_commandsPane
.WouldBeVisible;
424
get =>
_commandsPane
.BackColor;
427
_commandsPane
.BackColor = value;
428
_commandsPane
.Label.BackColor = value;
439
get =>
_commandsPane
.ForeColor;
442
_commandsPane
.ForeColor = value;
443
_commandsPane
.Label.ForeColor = value;
454
get =>
_commandsPane
.Label.LinkColor;
455
set =>
_commandsPane
.Label.LinkColor = value;
465
get =>
_commandsPane
.Label.ActiveLinkColor;
466
set =>
_commandsPane
.Label.ActiveLinkColor = value;
476
get =>
_commandsPane
.Label.DisabledLinkColor;
477
set =>
_commandsPane
.Label.DisabledLinkColor = value;
488
get =>
_commandsPane
.BorderColor;
489
set =>
_commandsPane
.BorderColor = value;
497
public virtual bool CommandsVisible =>
_commandsPane
.Visible;
508
get =>
_commandsPane
.AllowVisible;
511
bool hotcommandsVisible =
_commandsPane
.Visible;
512
_commandsPane
.AllowVisible = value;
514
if (hotcommandsVisible !=
_commandsPane
.Visible)
517
_commandsPane
.Invalidate();
679
internal AccessibleObject CommandsPaneAccessibleObject =>
_commandsPane
.AccessibilityObject;
1732
bool commandsPaneDisplayed =
_commandsPane
.Visible;
1780
_commandsPane
.SetVerbs(component, verbs);
1784
_commandsPane
.SetVerbs(component: null, verbs: null);
1787
if (commandsPaneDisplayed !=
_commandsPane
.Visible)
1865
_commandsPane
?.ReleaseUiaProvider(HWND.Null);
1890
if (
_commandsPane
.Visible)
1892
Point location =
_commandsPane
.Location;
1896
return
_commandsPane
;
1928
return
_commandsPane
;
1941
if (target == _helpPane &&
_commandsPane
.Visible)
1943
high +=
_commandsPane
.Size.Height + 2;
2209
return
_commandsPane
;
2603
if (!_toolStrip.Visible && !_helpPane.Visible && !
_commandsPane
.Visible)
2645
commandsRequestedHeight =
_commandsPane
.Visible ?
_commandsPane
.Size.Height : 0;
2666
if (
_commandsPane
.Visible)
2668
commandsOptimalHeight =
_commandsPane
.GetOptimalHeight(Size.Width - s_cyDivider);
2669
if (
_commandsPane
.UserSized)
2671
commandsRequestedHeight =
_commandsPane
.Size.Height;
2745
_commandsPane
.UserSized = false;
2747
else if (_commandsPaneSizeRatio != -1 ||
_commandsPane
.UserSized)
2749
_commandsPaneSizeRatio = (
_commandsPane
.Height * 100) / Height;
2752
_commandsPane
.SetBounds(0, endSize - height, Size.Width, height);
2753
_commandsPane
.Invalidate();
2754
endSize =
_commandsPane
.Location.Y - s_cyDivider;
2897
if (
_commandsPane
.Visible)
2901
new Rectangle(0, yLast, width,
_commandsPane
.Location.Y - yLast));
2902
yLast +=
_commandsPane
.Size.Height;
3228
if (
_commandsPane
.Visible &&
_commandsPane
.ContainsFocus)
3260
if (
_commandsPane
.Visible)
3262
_commandsPane
.FocusLabel();
3302
if (
_commandsPane
.Visible)
3304
_commandsPane
.FocusLabel();
3312
else if (
_commandsPane
.ContainsFocus)
3621
private void ResetCommandsBackColor() =>
_commandsPane
.ResetBackColor();
3623
private void ResetCommandsForeColor() =>
_commandsPane
.ResetForeColor();
3625
private void ResetCommandsLinkColor() =>
_commandsPane
.Label.ResetLinkColor();
3627
private void ResetCommandsActiveLinkColor() =>
_commandsPane
.Label.ResetActiveLinkColor();
3629
private void ResetCommandsDisabledLinkColor() =>
_commandsPane
.Label.ResetDisabledLinkColor();
3694
=>
_commandsPane
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4034
private bool ShouldSerializeCommandsBackColor() =>
_commandsPane
.ShouldSerializeBackColor();
4036
private bool ShouldSerializeCommandsForeColor() =>
_commandsPane
.ShouldSerializeForeColor();
4038
private bool ShouldSerializeCommandsLinkColor() =>
_commandsPane
.Label.ShouldSerializeLinkColor();
4040
private bool ShouldSerializeCommandsActiveLinkColor() =>
_commandsPane
.Label.ShouldSerializeActiveLinkColor();
4042
private bool ShouldSerializeCommandsDisabledLinkColor() =>
_commandsPane
.Label.ShouldSerializeDisabledLinkColor();