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; 1779bool commandsPaneDisplayed = _commandsPane.Visible; 1827_commandsPane.SetVerbs(component, verbs); 1831_commandsPane.SetVerbs(component: null, verbs: null); 1834if (commandsPaneDisplayed != _commandsPane.Visible) 1908_commandsPane?.ReleaseUiaProvider(HWND.Null); 1933if (_commandsPane.Visible) 1935Point location = _commandsPane.Location; 1939return _commandsPane; 1971return _commandsPane; 1984if (target == _helpPane && _commandsPane.Visible) 1986high += _commandsPane.Size.Height + 2; 2255return _commandsPane; 2649if (!_toolStrip.Visible && !_helpPane.Visible && !_commandsPane.Visible) 2691commandsRequestedHeight = _commandsPane.Visible ? _commandsPane.Size.Height : 0; 2712if (_commandsPane.Visible) 2714commandsOptimalHeight = _commandsPane.GetOptimalHeight(Size.Width - s_cyDivider); 2715if (_commandsPane.UserSized) 2717commandsRequestedHeight = _commandsPane.Size.Height; 2791_commandsPane.UserSized = false; 2793else if (_commandsPaneSizeRatio != -1 || _commandsPane.UserSized) 2795_commandsPaneSizeRatio = (_commandsPane.Height * 100) / Height; 2798_commandsPane.SetBounds(0, endSize - height, Size.Width, height); 2799_commandsPane.Invalidate(); 2800endSize = _commandsPane.Location.Y - s_cyDivider; 2943if (_commandsPane.Visible) 2947new Rectangle(0, yLast, width, _commandsPane.Location.Y - yLast)); 2948yLast += _commandsPane.Size.Height; 3274if (_commandsPane.Visible && _commandsPane.ContainsFocus) 3306if (_commandsPane.Visible) 3308_commandsPane.FocusLabel(); 3348if (_commandsPane.Visible) 3350_commandsPane.FocusLabel(); 3358else if (_commandsPane.ContainsFocus) 3667private void ResetCommandsBackColor() => _commandsPane.ResetBackColor(); 3669private void ResetCommandsForeColor() => _commandsPane.ResetForeColor(); 3671private void ResetCommandsLinkColor() => _commandsPane.Label.ResetLinkColor(); 3673private void ResetCommandsActiveLinkColor() => _commandsPane.Label.ResetActiveLinkColor(); 3675private void ResetCommandsDisabledLinkColor() => _commandsPane.Label.ResetDisabledLinkColor(); 3740=> _commandsPane.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty); 4074private bool ShouldSerializeCommandsBackColor() => _commandsPane.ShouldSerializeBackColor(); 4076private bool ShouldSerializeCommandsForeColor() => _commandsPane.ShouldSerializeForeColor(); 4078private bool ShouldSerializeCommandsLinkColor() => _commandsPane.Label.ShouldSerializeLinkColor(); 4080private bool ShouldSerializeCommandsActiveLinkColor() => _commandsPane.Label.ShouldSerializeActiveLinkColor(); 4082private bool ShouldSerializeCommandsDisabledLinkColor() => _commandsPane.Label.ShouldSerializeDisabledLinkColor();