1 write to _commandsPane
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
225
_commandsPane
= new CommandsPane(this);
75 references to _commandsPane
System.Windows.Forms (75)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (75)
226
using SuspendLayoutScope suspendCommandsPaneLayout = new(
_commandsPane
, performLayout: false);
227
_commandsPane
.TabIndex = 3;
228
_commandsPane
.Dock = DockStyle.None;
230
_commandsPane
.Visible = false;
231
_commandsPane
.MouseMove += OnChildMouseMove;
232
_commandsPane
.MouseDown += OnChildMouseDown;
234
Controls.AddRange([_helpPane,
_commandsPane
, _gridView, _toolStrip]);
402
public virtual bool CanShowCommands =>
_commandsPane
.WouldBeVisible;
430
get =>
_commandsPane
.BackColor;
433
_commandsPane
.BackColor = value;
434
_commandsPane
.Label.BackColor = value;
445
get =>
_commandsPane
.ForeColor;
448
_commandsPane
.ForeColor = value;
449
_commandsPane
.Label.ForeColor = value;
460
get =>
_commandsPane
.Label.LinkColor;
461
set =>
_commandsPane
.Label.LinkColor = value;
471
get =>
_commandsPane
.Label.ActiveLinkColor;
472
set =>
_commandsPane
.Label.ActiveLinkColor = value;
482
get =>
_commandsPane
.Label.DisabledLinkColor;
483
set =>
_commandsPane
.Label.DisabledLinkColor = value;
494
get =>
_commandsPane
.BorderColor;
495
set =>
_commandsPane
.BorderColor = value;
503
public virtual bool CommandsVisible =>
_commandsPane
.Visible;
514
get =>
_commandsPane
.AllowVisible;
517
bool hotcommandsVisible =
_commandsPane
.Visible;
518
_commandsPane
.AllowVisible = value;
520
if (hotcommandsVisible !=
_commandsPane
.Visible)
523
_commandsPane
.Invalidate();
685
internal AccessibleObject CommandsPaneAccessibleObject =>
_commandsPane
.AccessibilityObject;
1779
bool commandsPaneDisplayed =
_commandsPane
.Visible;
1827
_commandsPane
.SetVerbs(component, verbs);
1831
_commandsPane
.SetVerbs(component: null, verbs: null);
1834
if (commandsPaneDisplayed !=
_commandsPane
.Visible)
1908
_commandsPane
?.ReleaseUiaProvider(HWND.Null);
1933
if (
_commandsPane
.Visible)
1935
Point location =
_commandsPane
.Location;
1939
return
_commandsPane
;
1971
return
_commandsPane
;
1984
if (target == _helpPane &&
_commandsPane
.Visible)
1986
high +=
_commandsPane
.Size.Height + 2;
2255
return
_commandsPane
;
2649
if (!_toolStrip.Visible && !_helpPane.Visible && !
_commandsPane
.Visible)
2691
commandsRequestedHeight =
_commandsPane
.Visible ?
_commandsPane
.Size.Height : 0;
2712
if (
_commandsPane
.Visible)
2714
commandsOptimalHeight =
_commandsPane
.GetOptimalHeight(Size.Width - s_cyDivider);
2715
if (
_commandsPane
.UserSized)
2717
commandsRequestedHeight =
_commandsPane
.Size.Height;
2791
_commandsPane
.UserSized = false;
2793
else if (_commandsPaneSizeRatio != -1 ||
_commandsPane
.UserSized)
2795
_commandsPaneSizeRatio = (
_commandsPane
.Height * 100) / Height;
2798
_commandsPane
.SetBounds(0, endSize - height, Size.Width, height);
2799
_commandsPane
.Invalidate();
2800
endSize =
_commandsPane
.Location.Y - s_cyDivider;
2943
if (
_commandsPane
.Visible)
2947
new Rectangle(0, yLast, width,
_commandsPane
.Location.Y - yLast));
2948
yLast +=
_commandsPane
.Size.Height;
3274
if (
_commandsPane
.Visible &&
_commandsPane
.ContainsFocus)
3306
if (
_commandsPane
.Visible)
3308
_commandsPane
.FocusLabel();
3348
if (
_commandsPane
.Visible)
3350
_commandsPane
.FocusLabel();
3358
else if (
_commandsPane
.ContainsFocus)
3667
private void ResetCommandsBackColor() =>
_commandsPane
.ResetBackColor();
3669
private void ResetCommandsForeColor() =>
_commandsPane
.ResetForeColor();
3671
private void ResetCommandsLinkColor() =>
_commandsPane
.Label.ResetLinkColor();
3673
private void ResetCommandsActiveLinkColor() =>
_commandsPane
.Label.ResetActiveLinkColor();
3675
private void ResetCommandsDisabledLinkColor() =>
_commandsPane
.Label.ResetDisabledLinkColor();
3740
=>
_commandsPane
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4074
private bool ShouldSerializeCommandsBackColor() =>
_commandsPane
.ShouldSerializeBackColor();
4076
private bool ShouldSerializeCommandsForeColor() =>
_commandsPane
.ShouldSerializeForeColor();
4078
private bool ShouldSerializeCommandsLinkColor() =>
_commandsPane
.Label.ShouldSerializeLinkColor();
4080
private bool ShouldSerializeCommandsActiveLinkColor() =>
_commandsPane
.Label.ShouldSerializeActiveLinkColor();
4082
private bool ShouldSerializeCommandsDisabledLinkColor() =>
_commandsPane
.Label.ShouldSerializeDisabledLinkColor();