38 references to GlyphSelectionType
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net11.0\System.Design.Forwards.cs (1)
79
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Windows.Forms.Design.Behavior.
GlyphSelectionType
))]
System.Windows.Forms.Design (27)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (7)
121
GlyphSelectionType
selType =
GlyphSelectionType
.NotSelected;
125
?
GlyphSelectionType
.SelectedPrimary
126
:
GlyphSelectionType
.Selected;
135
private void AddControlGlyphs(Control control,
GlyphSelectionType
selType)
138
bool hasSelection = selType is
GlyphSelectionType
.SelectedPrimary or
GlyphSelectionType
.Selected;
System\Windows\Forms\Design\ControlDesigner.cs (5)
690
protected virtual ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
735
internal ControlBodyGlyph GetControlGlyphInternal(
GlyphSelectionType
selectionType) => GetControlGlyph(selectionType);
742
public virtual GlyphCollection GetGlyphs(
GlyphSelectionType
selectionType)
746
if (selectionType ==
GlyphSelectionType
.NotSelected)
757
bool primarySelection = (selectionType ==
GlyphSelectionType
.SelectedPrimary);
System\Windows\Forms\Design\DocumentDesigner.cs (3)
464
public override GlyphCollection GetGlyphs(
GlyphSelectionType
selectionType)
468
if (selectionType !=
GlyphSelectionType
.NotSelected)
472
bool primarySelection = (selectionType ==
GlyphSelectionType
.SelectedPrimary);
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
992
protected override ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
1008
if (selectionType ==
GlyphSelectionType
.NotSelected)
1031
public override GlyphCollection GetGlyphs(
GlyphSelectionType
selectionType)
1038
InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && selectionType !=
GlyphSelectionType
.NotSelected)
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
196
protected override ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1053
public override GlyphCollection GetGlyphs(
GlyphSelectionType
selectionType)
1065
if (selectionType !=
GlyphSelectionType
.NotSelected && !locked && InheritanceAttribute != InheritanceAttribute.InheritedReadOnly)
System\Windows\Forms\Design\TabPageDesigner.cs (1)
40
protected override ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
223
protected override ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
1242
protected override ControlBodyGlyph GetControlGlyph(
GlyphSelectionType
selectionType)
1326
public override GlyphCollection GetGlyphs(
GlyphSelectionType
selType)
1348
if ((SelectionRules & SelectionRules.Moveable) != 0 && InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && (selType !=
GlyphSelectionType
.NotSelected))
System.Windows.Forms.Design.Tests (10)
ControlDesignerTests.cs (5)
235
GlyphCollection glyphs = _designer.GetGlyphs(
GlyphSelectionType
.SelectedPrimary);
245
GlyphCollection glyphs = _designer.GetGlyphs(
GlyphSelectionType
.NotSelected);
255
Action action = () => _designer.GetGlyphs(
GlyphSelectionType
.SelectedPrimary);
272
GlyphCollection glyphs = _designer.GetGlyphs(
GlyphSelectionType
.SelectedPrimary);
301
GlyphCollection glyphs = _designer.GetGlyphs(
GlyphSelectionType
.SelectedPrimary);
System\Windows\Forms\Design\DocumentDesignerTests.cs (2)
16
public new GlyphCollection GetGlyphs(
GlyphSelectionType
selectionType) => base.GetGlyphs(selectionType);
39
GlyphCollection glyphs = designer.GetGlyphs(
GlyphSelectionType
.NotSelected);
System\Windows\Forms\Design\ParentControlDesignerTests.cs (2)
85
GlyphSelectionType
selectionType =
GlyphSelectionType
.Selected;
TestControlDesigner.cs (1)
71
internal ControlBodyGlyph GetControlGlyphMethod(
GlyphSelectionType
selectionType)