1 write to hotcommands
System.Windows.Forms (1)
winforms\Managed\System\WinForms\PropertyGrid.cs (1)
260
hotcommands
= new HotCommands(this);
81 references to hotcommands
System.Windows.Forms (81)
winforms\Managed\System\WinForms\PropertyGrid.cs (81)
261
hotcommands
.SuspendLayout();
262
hotcommands
.TabIndex = 3;
263
hotcommands
.Dock = DockStyle.None;
265
hotcommands
.Visible = false;
266
hotcommands
.MouseMove += new MouseEventHandler(this.OnChildMouseMove);
267
hotcommands
.MouseDown += new MouseEventHandler(this.OnChildMouseDown);
269
Controls.AddRange(new Control[] { doccomment,
hotcommands
, gridView, toolStrip });
286
if (
hotcommands
!= null) {
287
hotcommands
.ResumeLayout(false);
501
return
hotcommands
.WouldBeVisible;
536
return
hotcommands
.BackColor;
539
hotcommands
.BackColor = value;
540
hotcommands
.Label.BackColor = value;
554
return
hotcommands
.ForeColor;
557
hotcommands
.ForeColor = value;
558
hotcommands
.Label.ForeColor = value;
572
return
hotcommands
.Label.LinkColor;
575
hotcommands
.Label.LinkColor = value;
589
return
hotcommands
.Label.ActiveLinkColor;
592
hotcommands
.Label.ActiveLinkColor = value;
606
return
hotcommands
.Label.DisabledLinkColor;
609
hotcommands
.Label.DisabledLinkColor = value;
624
return
hotcommands
.BorderColor;
627
hotcommands
.BorderColor = value;
638
return
hotcommands
.Visible;
654
return
hotcommands
.AllowVisible;
657
bool hotcommandsVisible =
hotcommands
.Visible;
658
hotcommands
.AllowVisible = value;
660
if (hotcommandsVisible !=
hotcommands
.Visible) {
662
hotcommands
.Invalidate();
876
return
hotcommands
.AccessibilityObject;
2124
bool hotCommandsDisplayed =
hotcommands
.Visible;
2184
hotcommands
.SetVerbs(component, verbs);
2187
hotcommands
.SetVerbs(null, null);
2190
if (hotCommandsDisplayed !=
hotcommands
.Visible) {
2283
if (
hotcommands
.Visible) {
2284
Point locDoc =
hotcommands
.Location;
2287
return
hotcommands
;
2312
return
hotcommands
;
2323
if (target == doccomment &&
hotcommands
.Visible)
2324
high +=
hotcommands
.Size.Height + 2;
2622
return
hotcommands
;
2985
if (!toolStrip.Visible && !doccomment.Visible && !
hotcommands
.Visible) {
3034
hcRequestedHeight =
hotcommands
.Visible ?
hotcommands
.Size.Height : 0;
3050
if (
hotcommands
.Visible) {
3051
hcOptHeight =
hotcommands
.GetOptimalHeight(Size.Width - cyDivider);
3052
if (
hotcommands
.userSized) {
3053
hcRequestedHeight =
hotcommands
.Size.Height;
3117
hotcommands
.userSized = false;
3119
else if (hcSizeRatio != -1 ||
hotcommands
.userSized) {
3120
hcSizeRatio = (
hotcommands
.Height * 100) / this.Height;
3123
hotcommands
.SetBounds(0, endSize - height, Size.Width, height);
3124
hotcommands
.Invalidate();
3125
endSize =
hotcommands
.Location.Y - cyDivider;
3302
if (
hotcommands
.Visible) {
3303
pevent.Graphics.FillRectangle(background, new Rectangle(0, yLast, width,
hotcommands
.Location.Y - yLast));
3304
yLast +=
hotcommands
.Size.Height;
3751
if (
hotcommands
.Visible &&
hotcommands
.ContainsFocus) {
3778
if (
hotcommands
.Visible) {
3779
hotcommands
.Select(false);
3810
if (
hotcommands
.Visible) {
3811
hotcommands
.Select(true);
3819
else if (
hotcommands
.ContainsFocus) {
4159
hotcommands
.ResetBackColor();
4163
hotcommands
.ResetForeColor();
4167
hotcommands
.Label.ResetLinkColor();
4171
hotcommands
.Label.ResetActiveLinkColor();
4175
hotcommands
.Label.ResetDisabledLinkColor();
4236
hotcommands
.SetColors(SystemColors.Control, SystemColors.ControlText, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ActiveCaption, SystemColors.ControlDark);
4239
hotcommands
.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
4596
return
hotcommands
.ShouldSerializeBackColor();
4600
return
hotcommands
.ShouldSerializeForeColor();
4604
return
hotcommands
.Label.ShouldSerializeLinkColor();
4608
return
hotcommands
.Label.ShouldSerializeActiveLinkColor();
4612
return
hotcommands
.Label.ShouldSerializeDisabledLinkColor();
4843
if (
hotcommands
!= null &&
hotcommands
.Visible) {
4845
this.Controls.Remove(
hotcommands
);
4846
this.Controls.Add(
hotcommands
);