1 write to _commandsPane
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
219_commandsPane = new CommandsPane(this);
75 references to _commandsPane
System.Windows.Forms (75)
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (75)
220using SuspendLayoutScope suspendCommandsPaneLayout = new(_commandsPane, performLayout: false); 221_commandsPane.TabIndex = 3; 222_commandsPane.Dock = DockStyle.None; 224_commandsPane.Visible = false; 225_commandsPane.MouseMove += OnChildMouseMove; 226_commandsPane.MouseDown += OnChildMouseDown; 228Controls.AddRange([_helpPane, _commandsPane, _gridView, _toolStrip]); 396public virtual bool CanShowCommands => _commandsPane.WouldBeVisible; 424get => _commandsPane.BackColor; 427_commandsPane.BackColor = value; 428_commandsPane.Label.BackColor = value; 439get => _commandsPane.ForeColor; 442_commandsPane.ForeColor = value; 443_commandsPane.Label.ForeColor = value; 454get => _commandsPane.Label.LinkColor; 455set => _commandsPane.Label.LinkColor = value; 465get => _commandsPane.Label.ActiveLinkColor; 466set => _commandsPane.Label.ActiveLinkColor = value; 476get => _commandsPane.Label.DisabledLinkColor; 477set => _commandsPane.Label.DisabledLinkColor = value; 488get => _commandsPane.BorderColor; 489set => _commandsPane.BorderColor = value; 497public virtual bool CommandsVisible => _commandsPane.Visible; 508get => _commandsPane.AllowVisible; 511bool hotcommandsVisible = _commandsPane.Visible; 512_commandsPane.AllowVisible = value; 514if (hotcommandsVisible != _commandsPane.Visible) 517_commandsPane.Invalidate(); 679internal AccessibleObject CommandsPaneAccessibleObject => _commandsPane.AccessibilityObject; 1732bool commandsPaneDisplayed = _commandsPane.Visible; 1780_commandsPane.SetVerbs(component, verbs); 1784_commandsPane.SetVerbs(component: null, verbs: null); 1787if (commandsPaneDisplayed != _commandsPane.Visible) 1865_commandsPane?.ReleaseUiaProvider(HWND.Null); 1890if (_commandsPane.Visible) 1892Point location = _commandsPane.Location; 1896return _commandsPane; 1928return _commandsPane; 1941if (target == _helpPane && _commandsPane.Visible) 1943high += _commandsPane.Size.Height + 2; 2209return _commandsPane; 2603if (!_toolStrip.Visible && !_helpPane.Visible && !_commandsPane.Visible) 2645commandsRequestedHeight = _commandsPane.Visible ? _commandsPane.Size.Height : 0; 2666if (_commandsPane.Visible) 2668commandsOptimalHeight = _commandsPane.GetOptimalHeight(Size.Width - s_cyDivider); 2669if (_commandsPane.UserSized) 2671commandsRequestedHeight = _commandsPane.Size.Height; 2745_commandsPane.UserSized = false; 2747else if (_commandsPaneSizeRatio != -1 || _commandsPane.UserSized) 2749_commandsPaneSizeRatio = (_commandsPane.Height * 100) / Height; 2752_commandsPane.SetBounds(0, endSize - height, Size.Width, height); 2753_commandsPane.Invalidate(); 2754endSize = _commandsPane.Location.Y - s_cyDivider; 2897if (_commandsPane.Visible) 2901new Rectangle(0, yLast, width, _commandsPane.Location.Y - yLast)); 2902yLast += _commandsPane.Size.Height; 3228if (_commandsPane.Visible && _commandsPane.ContainsFocus) 3260if (_commandsPane.Visible) 3262_commandsPane.FocusLabel(); 3302if (_commandsPane.Visible) 3304_commandsPane.FocusLabel(); 3312else if (_commandsPane.ContainsFocus) 3621private void ResetCommandsBackColor() => _commandsPane.ResetBackColor(); 3623private void ResetCommandsForeColor() => _commandsPane.ResetForeColor(); 3625private void ResetCommandsLinkColor() => _commandsPane.Label.ResetLinkColor(); 3627private void ResetCommandsActiveLinkColor() => _commandsPane.Label.ResetActiveLinkColor(); 3629private void ResetCommandsDisabledLinkColor() => _commandsPane.Label.ResetDisabledLinkColor(); 3694=> _commandsPane.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty); 4034private bool ShouldSerializeCommandsBackColor() => _commandsPane.ShouldSerializeBackColor(); 4036private bool ShouldSerializeCommandsForeColor() => _commandsPane.ShouldSerializeForeColor(); 4038private bool ShouldSerializeCommandsLinkColor() => _commandsPane.Label.ShouldSerializeLinkColor(); 4040private bool ShouldSerializeCommandsActiveLinkColor() => _commandsPane.Label.ShouldSerializeActiveLinkColor(); 4042private bool ShouldSerializeCommandsDisabledLinkColor() => _commandsPane.Label.ShouldSerializeDisabledLinkColor();