36 references to GlyphSelectionType
System.Design (1)
artifacts\obj\System.Design.Facade\Release\net10.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)
121GlyphSelectionType selType = GlyphSelectionType.NotSelected; 125? GlyphSelectionType.SelectedPrimary 126: GlyphSelectionType.Selected; 135private void AddControlGlyphs(Control control, GlyphSelectionType selType) 138bool hasSelection = selType is GlyphSelectionType.SelectedPrimary or GlyphSelectionType.Selected;
System\Windows\Forms\Design\ControlDesigner.cs (5)
690protected virtual ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType) 735internal ControlBodyGlyph GetControlGlyphInternal(GlyphSelectionType selectionType) => GetControlGlyph(selectionType); 742public virtual GlyphCollection GetGlyphs(GlyphSelectionType selectionType) 746if (selectionType == GlyphSelectionType.NotSelected) 757bool primarySelection = (selectionType == GlyphSelectionType.SelectedPrimary);
System\Windows\Forms\Design\DocumentDesigner.cs (3)
467public override GlyphCollection GetGlyphs(GlyphSelectionType selectionType) 471if (selectionType != GlyphSelectionType.NotSelected) 475bool primarySelection = (selectionType == GlyphSelectionType.SelectedPrimary);
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
992protected override ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType) 1008if (selectionType == GlyphSelectionType.NotSelected) 1031public override GlyphCollection GetGlyphs(GlyphSelectionType selectionType) 1038InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && selectionType != GlyphSelectionType.NotSelected)
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
196protected override ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1056public override GlyphCollection GetGlyphs(GlyphSelectionType selectionType) 1068if (selectionType != GlyphSelectionType.NotSelected && !locked && InheritanceAttribute != InheritanceAttribute.InheritedReadOnly)
System\Windows\Forms\Design\TabPageDesigner.cs (1)
40protected override ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
223protected override ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType)
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
1242protected override ControlBodyGlyph GetControlGlyph(GlyphSelectionType selectionType) 1326public override GlyphCollection GetGlyphs(GlyphSelectionType selType) 1348if ((SelectionRules & SelectionRules.Moveable) != 0 && InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && (selType != GlyphSelectionType.NotSelected))
System.Windows.Forms.Design.Tests (8)
ControlDesignerTests.cs (5)
235GlyphCollection glyphs = _designer.GetGlyphs(GlyphSelectionType.SelectedPrimary); 245GlyphCollection glyphs = _designer.GetGlyphs(GlyphSelectionType.NotSelected); 255Action action = () => _designer.GetGlyphs(GlyphSelectionType.SelectedPrimary); 272GlyphCollection glyphs = _designer.GetGlyphs(GlyphSelectionType.SelectedPrimary); 301GlyphCollection glyphs = _designer.GetGlyphs(GlyphSelectionType.SelectedPrimary);
System\Windows\Forms\Design\ParentControlDesignerTests.cs (2)
86GlyphSelectionType selectionType = GlyphSelectionType.Selected;
TestControlDesigner.cs (1)
71internal ControlBodyGlyph GetControlGlyphMethod(GlyphSelectionType selectionType)