1 write to _commandsPane
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
221
_commandsPane
= new CommandsPane(this);
75 references to _commandsPane
System.Windows.Forms (75)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (75)
222
using SuspendLayoutScope suspendCommandsPaneLayout = new(
_commandsPane
, performLayout: false);
223
_commandsPane
.TabIndex = 3;
224
_commandsPane
.Dock = DockStyle.None;
226
_commandsPane
.Visible = false;
227
_commandsPane
.MouseMove += OnChildMouseMove;
228
_commandsPane
.MouseDown += OnChildMouseDown;
230
Controls.AddRange([_helpPane,
_commandsPane
, _gridView, _toolStrip]);
398
public virtual bool CanShowCommands =>
_commandsPane
.WouldBeVisible;
426
get =>
_commandsPane
.BackColor;
429
_commandsPane
.BackColor = value;
430
_commandsPane
.Label.BackColor = value;
441
get =>
_commandsPane
.ForeColor;
444
_commandsPane
.ForeColor = value;
445
_commandsPane
.Label.ForeColor = value;
456
get =>
_commandsPane
.Label.LinkColor;
457
set =>
_commandsPane
.Label.LinkColor = value;
467
get =>
_commandsPane
.Label.ActiveLinkColor;
468
set =>
_commandsPane
.Label.ActiveLinkColor = value;
478
get =>
_commandsPane
.Label.DisabledLinkColor;
479
set =>
_commandsPane
.Label.DisabledLinkColor = value;
490
get =>
_commandsPane
.BorderColor;
491
set =>
_commandsPane
.BorderColor = value;
499
public virtual bool CommandsVisible =>
_commandsPane
.Visible;
510
get =>
_commandsPane
.AllowVisible;
513
bool hotcommandsVisible =
_commandsPane
.Visible;
514
_commandsPane
.AllowVisible = value;
516
if (hotcommandsVisible !=
_commandsPane
.Visible)
519
_commandsPane
.Invalidate();
681
internal AccessibleObject CommandsPaneAccessibleObject =>
_commandsPane
.AccessibilityObject;
1734
bool commandsPaneDisplayed =
_commandsPane
.Visible;
1782
_commandsPane
.SetVerbs(component, verbs);
1786
_commandsPane
.SetVerbs(component: null, verbs: null);
1789
if (commandsPaneDisplayed !=
_commandsPane
.Visible)
1863
_commandsPane
?.ReleaseUiaProvider(HWND.Null);
1888
if (
_commandsPane
.Visible)
1890
Point location =
_commandsPane
.Location;
1894
return
_commandsPane
;
1926
return
_commandsPane
;
1939
if (target == _helpPane &&
_commandsPane
.Visible)
1941
high +=
_commandsPane
.Size.Height + 2;
2207
return
_commandsPane
;
2601
if (!_toolStrip.Visible && !_helpPane.Visible && !
_commandsPane
.Visible)
2643
commandsRequestedHeight =
_commandsPane
.Visible ?
_commandsPane
.Size.Height : 0;
2664
if (
_commandsPane
.Visible)
2666
commandsOptimalHeight =
_commandsPane
.GetOptimalHeight(Size.Width - s_cyDivider);
2667
if (
_commandsPane
.UserSized)
2669
commandsRequestedHeight =
_commandsPane
.Size.Height;
2743
_commandsPane
.UserSized = false;
2745
else if (_commandsPaneSizeRatio != -1 ||
_commandsPane
.UserSized)
2747
_commandsPaneSizeRatio = (
_commandsPane
.Height * 100) / Height;
2750
_commandsPane
.SetBounds(0, endSize - height, Size.Width, height);
2751
_commandsPane
.Invalidate();
2752
endSize =
_commandsPane
.Location.Y - s_cyDivider;
2895
if (
_commandsPane
.Visible)
2899
new Rectangle(0, yLast, width,
_commandsPane
.Location.Y - yLast));
2900
yLast +=
_commandsPane
.Size.Height;
3226
if (
_commandsPane
.Visible &&
_commandsPane
.ContainsFocus)
3258
if (
_commandsPane
.Visible)
3260
_commandsPane
.FocusLabel();
3300
if (
_commandsPane
.Visible)
3302
_commandsPane
.FocusLabel();
3310
else if (
_commandsPane
.ContainsFocus)
3619
private void ResetCommandsBackColor() =>
_commandsPane
.ResetBackColor();
3621
private void ResetCommandsForeColor() =>
_commandsPane
.ResetForeColor();
3623
private void ResetCommandsLinkColor() =>
_commandsPane
.Label.ResetLinkColor();
3625
private void ResetCommandsActiveLinkColor() =>
_commandsPane
.Label.ResetActiveLinkColor();
3627
private void ResetCommandsDisabledLinkColor() =>
_commandsPane
.Label.ResetDisabledLinkColor();
3692
=>
_commandsPane
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4032
private bool ShouldSerializeCommandsBackColor() =>
_commandsPane
.ShouldSerializeBackColor();
4034
private bool ShouldSerializeCommandsForeColor() =>
_commandsPane
.ShouldSerializeForeColor();
4036
private bool ShouldSerializeCommandsLinkColor() =>
_commandsPane
.Label.ShouldSerializeLinkColor();
4038
private bool ShouldSerializeCommandsActiveLinkColor() =>
_commandsPane
.Label.ShouldSerializeActiveLinkColor();
4040
private bool ShouldSerializeCommandsDisabledLinkColor() =>
_commandsPane
.Label.ShouldSerializeDisabledLinkColor();