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)
222using 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; 230Controls.AddRange([_helpPane, _commandsPane, _gridView, _toolStrip]); 398public virtual bool CanShowCommands => _commandsPane.WouldBeVisible; 426get => _commandsPane.BackColor; 429_commandsPane.BackColor = value; 430_commandsPane.Label.BackColor = value; 441get => _commandsPane.ForeColor; 444_commandsPane.ForeColor = value; 445_commandsPane.Label.ForeColor = value; 456get => _commandsPane.Label.LinkColor; 457set => _commandsPane.Label.LinkColor = value; 467get => _commandsPane.Label.ActiveLinkColor; 468set => _commandsPane.Label.ActiveLinkColor = value; 478get => _commandsPane.Label.DisabledLinkColor; 479set => _commandsPane.Label.DisabledLinkColor = value; 490get => _commandsPane.BorderColor; 491set => _commandsPane.BorderColor = value; 499public virtual bool CommandsVisible => _commandsPane.Visible; 510get => _commandsPane.AllowVisible; 513bool hotcommandsVisible = _commandsPane.Visible; 514_commandsPane.AllowVisible = value; 516if (hotcommandsVisible != _commandsPane.Visible) 519_commandsPane.Invalidate(); 681internal AccessibleObject CommandsPaneAccessibleObject => _commandsPane.AccessibilityObject; 1734bool commandsPaneDisplayed = _commandsPane.Visible; 1782_commandsPane.SetVerbs(component, verbs); 1786_commandsPane.SetVerbs(component: null, verbs: null); 1789if (commandsPaneDisplayed != _commandsPane.Visible) 1867_commandsPane?.ReleaseUiaProvider(HWND.Null); 1892if (_commandsPane.Visible) 1894Point location = _commandsPane.Location; 1898return _commandsPane; 1930return _commandsPane; 1943if (target == _helpPane && _commandsPane.Visible) 1945high += _commandsPane.Size.Height + 2; 2211return _commandsPane; 2605if (!_toolStrip.Visible && !_helpPane.Visible && !_commandsPane.Visible) 2647commandsRequestedHeight = _commandsPane.Visible ? _commandsPane.Size.Height : 0; 2668if (_commandsPane.Visible) 2670commandsOptimalHeight = _commandsPane.GetOptimalHeight(Size.Width - s_cyDivider); 2671if (_commandsPane.UserSized) 2673commandsRequestedHeight = _commandsPane.Size.Height; 2747_commandsPane.UserSized = false; 2749else if (_commandsPaneSizeRatio != -1 || _commandsPane.UserSized) 2751_commandsPaneSizeRatio = (_commandsPane.Height * 100) / Height; 2754_commandsPane.SetBounds(0, endSize - height, Size.Width, height); 2755_commandsPane.Invalidate(); 2756endSize = _commandsPane.Location.Y - s_cyDivider; 2899if (_commandsPane.Visible) 2903new Rectangle(0, yLast, width, _commandsPane.Location.Y - yLast)); 2904yLast += _commandsPane.Size.Height; 3230if (_commandsPane.Visible && _commandsPane.ContainsFocus) 3262if (_commandsPane.Visible) 3264_commandsPane.FocusLabel(); 3304if (_commandsPane.Visible) 3306_commandsPane.FocusLabel(); 3314else if (_commandsPane.ContainsFocus) 3623private void ResetCommandsBackColor() => _commandsPane.ResetBackColor(); 3625private void ResetCommandsForeColor() => _commandsPane.ResetForeColor(); 3627private void ResetCommandsLinkColor() => _commandsPane.Label.ResetLinkColor(); 3629private void ResetCommandsActiveLinkColor() => _commandsPane.Label.ResetActiveLinkColor(); 3631private void ResetCommandsDisabledLinkColor() => _commandsPane.Label.ResetDisabledLinkColor(); 3696=> _commandsPane.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty); 4036private bool ShouldSerializeCommandsBackColor() => _commandsPane.ShouldSerializeBackColor(); 4038private bool ShouldSerializeCommandsForeColor() => _commandsPane.ShouldSerializeForeColor(); 4040private bool ShouldSerializeCommandsLinkColor() => _commandsPane.Label.ShouldSerializeLinkColor(); 4042private bool ShouldSerializeCommandsActiveLinkColor() => _commandsPane.Label.ShouldSerializeActiveLinkColor(); 4044private bool ShouldSerializeCommandsDisabledLinkColor() => _commandsPane.Label.ShouldSerializeDisabledLinkColor();