1 write to ActionPanel
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionPanel.Line.cs (1)
18
ActionPanel
= actionPanel.OrThrowIfNull();
50 references to ActionPanel
System.Windows.Forms.Design (50)
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
24
ForeColor =
ActionPanel
.LabelForeColor
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (20)
46
ActionPanel
.ShowError(string.Format(SR.DesignerActionPanel_ErrorActivatingDropDown, ex.Message));
55
Font =
ActionPanel
.Font
260
if (
ActionPanel
._dropDownActive)
279
ActionPanel
.Invalidate(new Rectangle(EditRegionLocation, EditRegionSize), false);
314
if (!
ActionPanel
._dropDownActive)
340
_dropDownHolder = new DropDownHolder(hostedControl,
ActionPanel
, borderColor,
ActionPanel
.Font, this);
342
if (
ActionPanel
.RightToLeft != RightToLeft.Yes)
346
Point editorLocation =
ActionPanel
.PointToScreen(EditRegionLocation);
347
Rectangle rectScreen = Screen.FromRectangle(
ActionPanel
.RectangleToScreen(editorBounds)).WorkingArea;
366
_dropDownHolder.RightToLeft =
ActionPanel
.RightToLeft;
370
Point editorLocation =
ActionPanel
.PointToScreen(EditRegionLocation);
371
Rectangle rectScreen = Screen.FromRectangle(
ActionPanel
.RectangleToScreen(editorBounds)).WorkingArea;
389
ActionPanel
.InMethodInvoke = true;
390
ActionPanel
.SetDropDownActive(true);
398
ActionPanel
.SetDropDownActive(false);
399
ActionPanel
.InMethodInvoke = false;
413
ShowDropDown(control,
ActionPanel
.BorderColor);
451
_parent.
ActionPanel
.SetDropDownActive(true);
457
_parent.
ActionPanel
.SetDropDownActive(false);
System\ComponentModel\Design\DesignerActionPanel.HeaderLine.cs (1)
16
protected override Font GetFont() => new(
ActionPanel
.Font, FontStyle.Bold);
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (7)
21
ActiveLinkColor =
ActionPanel
.ActiveLinkColor,
25
LinkColor =
ActionPanel
.LinkColor,
28
VisitedLinkColor =
ActionPanel
.LinkColor
57
Debug.Assert(!
ActionPanel
.InMethodInvoke, "Nested method invocation");
58
ActionPanel
.InMethodInvoke = true;
76
ActionPanel
.ShowError(string.Format(SR.DesignerActionPanel_ErrorInvokingAction, _methodItem!.DisplayName, Environment.NewLine + ex.Message));
80
ActionPanel
.InMethodInvoke = false;
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (12)
26
ForeColor =
ActionPanel
.TitleBarTextColor,
34
ForeColor =
ActionPanel
.TitleBarTextColor,
43
ActionPanel
.FormActivated += OnFormActivated;
44
ActionPanel
.FormDeactivate += OnFormDeactivate;
81
ActionPanel
.Invalidate();
89
ActionPanel
.Invalidate();
94
_titleLabel.Font = new Font(
ActionPanel
.Font, FontStyle.Bold);
95
_subtitleLabel.Font =
ActionPanel
.Font;
100
Color backColor = (_formActive ||
ActionPanel
._dropDownActive) ?
ActionPanel
.TitleBarColor :
ActionPanel
.TitleBarUnselectedColor;
105
using Pen p = new(
ActionPanel
.BorderColor);
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (3)
39
if (_pushingValue ||
ActionPanel
._dropDownActive)
59
ActionPanel
.ShowError(string.Format(SR.DesignerActionPanel_CouldNotConvertValue, newValue, PropertyDescriptor.PropertyType));
85
ActionPanel
.ShowError(string.Format(SR.DesignerActionPanel_ErrorSettingValue, newValue, PropertyDescriptor.Name, e.Message));
System\ComponentModel\Design\DesignerActionPanel.SeparatorLine.cs (1)
28
using Pen p = new(
ActionPanel
.SeparatorColor);
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (3)
27
ForeColor =
ActionPanel
.LabelForeColor,
258
if (
ActionPanel
._dropDownActive)
276
if (
ActionPanel
._dropDownActive)
System\ComponentModel\Design\DesignerActionPanel.TextLine.cs (2)
23
ForeColor =
ActionPanel
.LabelForeColor,
60
return
ActionPanel
.Font;