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)
1867
_commandsPane
?.ReleaseUiaProvider(HWND.Null);
1892
if (
_commandsPane
.Visible)
1894
Point location =
_commandsPane
.Location;
1898
return
_commandsPane
;
1930
return
_commandsPane
;
1943
if (target == _helpPane &&
_commandsPane
.Visible)
1945
high +=
_commandsPane
.Size.Height + 2;
2211
return
_commandsPane
;
2605
if (!_toolStrip.Visible && !_helpPane.Visible && !
_commandsPane
.Visible)
2647
commandsRequestedHeight =
_commandsPane
.Visible ?
_commandsPane
.Size.Height : 0;
2668
if (
_commandsPane
.Visible)
2670
commandsOptimalHeight =
_commandsPane
.GetOptimalHeight(Size.Width - s_cyDivider);
2671
if (
_commandsPane
.UserSized)
2673
commandsRequestedHeight =
_commandsPane
.Size.Height;
2747
_commandsPane
.UserSized = false;
2749
else if (_commandsPaneSizeRatio != -1 ||
_commandsPane
.UserSized)
2751
_commandsPaneSizeRatio = (
_commandsPane
.Height * 100) / Height;
2754
_commandsPane
.SetBounds(0, endSize - height, Size.Width, height);
2755
_commandsPane
.Invalidate();
2756
endSize =
_commandsPane
.Location.Y - s_cyDivider;
2899
if (
_commandsPane
.Visible)
2903
new Rectangle(0, yLast, width,
_commandsPane
.Location.Y - yLast));
2904
yLast +=
_commandsPane
.Size.Height;
3230
if (
_commandsPane
.Visible &&
_commandsPane
.ContainsFocus)
3262
if (
_commandsPane
.Visible)
3264
_commandsPane
.FocusLabel();
3304
if (
_commandsPane
.Visible)
3306
_commandsPane
.FocusLabel();
3314
else if (
_commandsPane
.ContainsFocus)
3623
private void ResetCommandsBackColor() =>
_commandsPane
.ResetBackColor();
3625
private void ResetCommandsForeColor() =>
_commandsPane
.ResetForeColor();
3627
private void ResetCommandsLinkColor() =>
_commandsPane
.Label.ResetLinkColor();
3629
private void ResetCommandsActiveLinkColor() =>
_commandsPane
.Label.ResetActiveLinkColor();
3631
private void ResetCommandsDisabledLinkColor() =>
_commandsPane
.Label.ResetDisabledLinkColor();
3696
=>
_commandsPane
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4036
private bool ShouldSerializeCommandsBackColor() =>
_commandsPane
.ShouldSerializeBackColor();
4038
private bool ShouldSerializeCommandsForeColor() =>
_commandsPane
.ShouldSerializeForeColor();
4040
private bool ShouldSerializeCommandsLinkColor() =>
_commandsPane
.Label.ShouldSerializeLinkColor();
4042
private bool ShouldSerializeCommandsActiveLinkColor() =>
_commandsPane
.Label.ShouldSerializeActiveLinkColor();
4044
private bool ShouldSerializeCommandsDisabledLinkColor() =>
_commandsPane
.Label.ShouldSerializeDisabledLinkColor();