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;
1786
bool commandsPaneDisplayed =
_commandsPane
.Visible;
1834
_commandsPane
.SetVerbs(component, verbs);
1838
_commandsPane
.SetVerbs(component: null, verbs: null);
1841
if (commandsPaneDisplayed !=
_commandsPane
.Visible)
1915
_commandsPane
?.ReleaseUiaProvider(HWND.Null);
1940
if (
_commandsPane
.Visible)
1942
Point location =
_commandsPane
.Location;
1946
return
_commandsPane
;
1978
return
_commandsPane
;
1991
if (target == _helpPane &&
_commandsPane
.Visible)
1993
high +=
_commandsPane
.Size.Height + 2;
2262
return
_commandsPane
;
2656
if (!_toolStrip.Visible && !_helpPane.Visible && !
_commandsPane
.Visible)
2698
commandsRequestedHeight =
_commandsPane
.Visible ?
_commandsPane
.Size.Height : 0;
2719
if (
_commandsPane
.Visible)
2721
commandsOptimalHeight =
_commandsPane
.GetOptimalHeight(Size.Width - s_cyDivider);
2722
if (
_commandsPane
.UserSized)
2724
commandsRequestedHeight =
_commandsPane
.Size.Height;
2798
_commandsPane
.UserSized = false;
2800
else if (_commandsPaneSizeRatio != -1 ||
_commandsPane
.UserSized)
2802
_commandsPaneSizeRatio = (
_commandsPane
.Height * 100) / Height;
2805
_commandsPane
.SetBounds(0, endSize - height, Size.Width, height);
2806
_commandsPane
.Invalidate();
2807
endSize =
_commandsPane
.Location.Y - s_cyDivider;
2950
if (
_commandsPane
.Visible)
2954
new Rectangle(0, yLast, width,
_commandsPane
.Location.Y - yLast));
2955
yLast +=
_commandsPane
.Size.Height;
3281
if (
_commandsPane
.Visible &&
_commandsPane
.ContainsFocus)
3313
if (
_commandsPane
.Visible)
3315
_commandsPane
.FocusLabel();
3355
if (
_commandsPane
.Visible)
3357
_commandsPane
.FocusLabel();
3365
else if (
_commandsPane
.ContainsFocus)
3674
private void ResetCommandsBackColor() =>
_commandsPane
.ResetBackColor();
3676
private void ResetCommandsForeColor() =>
_commandsPane
.ResetForeColor();
3678
private void ResetCommandsLinkColor() =>
_commandsPane
.Label.ResetLinkColor();
3680
private void ResetCommandsActiveLinkColor() =>
_commandsPane
.Label.ResetActiveLinkColor();
3682
private void ResetCommandsDisabledLinkColor() =>
_commandsPane
.Label.ResetDisabledLinkColor();
3747
=>
_commandsPane
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4084
private bool ShouldSerializeCommandsBackColor() =>
_commandsPane
.ShouldSerializeBackColor();
4086
private bool ShouldSerializeCommandsForeColor() =>
_commandsPane
.ShouldSerializeForeColor();
4088
private bool ShouldSerializeCommandsLinkColor() =>
_commandsPane
.Label.ShouldSerializeLinkColor();
4090
private bool ShouldSerializeCommandsActiveLinkColor() =>
_commandsPane
.Label.ShouldSerializeActiveLinkColor();
4092
private bool ShouldSerializeCommandsDisabledLinkColor() =>
_commandsPane
.Label.ShouldSerializeDisabledLinkColor();