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)
226using 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; 234Controls.AddRange([_helpPane, _commandsPane, _gridView, _toolStrip]); 402public virtual bool CanShowCommands => _commandsPane.WouldBeVisible; 430get => _commandsPane.BackColor; 433_commandsPane.BackColor = value; 434_commandsPane.Label.BackColor = value; 445get => _commandsPane.ForeColor; 448_commandsPane.ForeColor = value; 449_commandsPane.Label.ForeColor = value; 460get => _commandsPane.Label.LinkColor; 461set => _commandsPane.Label.LinkColor = value; 471get => _commandsPane.Label.ActiveLinkColor; 472set => _commandsPane.Label.ActiveLinkColor = value; 482get => _commandsPane.Label.DisabledLinkColor; 483set => _commandsPane.Label.DisabledLinkColor = value; 494get => _commandsPane.BorderColor; 495set => _commandsPane.BorderColor = value; 503public virtual bool CommandsVisible => _commandsPane.Visible; 514get => _commandsPane.AllowVisible; 517bool hotcommandsVisible = _commandsPane.Visible; 518_commandsPane.AllowVisible = value; 520if (hotcommandsVisible != _commandsPane.Visible) 523_commandsPane.Invalidate(); 685internal AccessibleObject CommandsPaneAccessibleObject => _commandsPane.AccessibilityObject; 1786bool commandsPaneDisplayed = _commandsPane.Visible; 1834_commandsPane.SetVerbs(component, verbs); 1838_commandsPane.SetVerbs(component: null, verbs: null); 1841if (commandsPaneDisplayed != _commandsPane.Visible) 1915_commandsPane?.ReleaseUiaProvider(HWND.Null); 1940if (_commandsPane.Visible) 1942Point location = _commandsPane.Location; 1946return _commandsPane; 1978return _commandsPane; 1991if (target == _helpPane && _commandsPane.Visible) 1993high += _commandsPane.Size.Height + 2; 2262return _commandsPane; 2656if (!_toolStrip.Visible && !_helpPane.Visible && !_commandsPane.Visible) 2698commandsRequestedHeight = _commandsPane.Visible ? _commandsPane.Size.Height : 0; 2719if (_commandsPane.Visible) 2721commandsOptimalHeight = _commandsPane.GetOptimalHeight(Size.Width - s_cyDivider); 2722if (_commandsPane.UserSized) 2724commandsRequestedHeight = _commandsPane.Size.Height; 2798_commandsPane.UserSized = false; 2800else if (_commandsPaneSizeRatio != -1 || _commandsPane.UserSized) 2802_commandsPaneSizeRatio = (_commandsPane.Height * 100) / Height; 2805_commandsPane.SetBounds(0, endSize - height, Size.Width, height); 2806_commandsPane.Invalidate(); 2807endSize = _commandsPane.Location.Y - s_cyDivider; 2950if (_commandsPane.Visible) 2954new Rectangle(0, yLast, width, _commandsPane.Location.Y - yLast)); 2955yLast += _commandsPane.Size.Height; 3281if (_commandsPane.Visible && _commandsPane.ContainsFocus) 3313if (_commandsPane.Visible) 3315_commandsPane.FocusLabel(); 3355if (_commandsPane.Visible) 3357_commandsPane.FocusLabel(); 3365else if (_commandsPane.ContainsFocus) 3674private void ResetCommandsBackColor() => _commandsPane.ResetBackColor(); 3676private void ResetCommandsForeColor() => _commandsPane.ResetForeColor(); 3678private void ResetCommandsLinkColor() => _commandsPane.Label.ResetLinkColor(); 3680private void ResetCommandsActiveLinkColor() => _commandsPane.Label.ResetActiveLinkColor(); 3682private void ResetCommandsDisabledLinkColor() => _commandsPane.Label.ResetDisabledLinkColor(); 3747=> _commandsPane.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty); 4084private bool ShouldSerializeCommandsBackColor() => _commandsPane.ShouldSerializeBackColor(); 4086private bool ShouldSerializeCommandsForeColor() => _commandsPane.ShouldSerializeForeColor(); 4088private bool ShouldSerializeCommandsLinkColor() => _commandsPane.Label.ShouldSerializeLinkColor(); 4090private bool ShouldSerializeCommandsActiveLinkColor() => _commandsPane.Label.ShouldSerializeActiveLinkColor(); 4092private bool ShouldSerializeCommandsDisabledLinkColor() => _commandsPane.Label.ShouldSerializeDisabledLinkColor();