ControlDesigner.GetGlyphs(GlyphSelectionType) 方法

定义

获取一个 Glyph 对象的集合,其中的 Glyph 对象表示标准控件的选择边框和抓取手柄。Gets a collection of Glyph objects representing the selection borders and grab handles for a standard control.

public:
 virtual System::Windows::Forms::Design::Behavior::GlyphCollection ^ GetGlyphs(System::Windows::Forms::Design::Behavior::GlyphSelectionType selectionType);
public virtual System.Windows.Forms.Design.Behavior.GlyphCollection GetGlyphs (System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType);
abstract member GetGlyphs : System.Windows.Forms.Design.Behavior.GlyphSelectionType -> System.Windows.Forms.Design.Behavior.GlyphCollection
override this.GetGlyphs : System.Windows.Forms.Design.Behavior.GlyphSelectionType -> System.Windows.Forms.Design.Behavior.GlyphCollection
Public Overridable Function GetGlyphs (selectionType As GlyphSelectionType) As GlyphCollection

参数

selectionType
GlyphSelectionType

一个指定选择状态的 GlyphSelectionType 值。A GlyphSelectionType value that specifies the selection state.

返回

Glyph 对象的集合。A collection of Glyph objects.

注解

请注意,根据 selectionType,返回的 Glyph 对象将表示以下选择状态之一:Note that based on selectionType, the Glyph objects returned will represent one of these selection states:

  • 具有抓取手柄的完全可调整大小的选择边框;A fully resizable selection border with grab handles;

  • 锁定的选择边框;A locked selection border;

  • Glyph单个 "隐藏" 选择。A single 'hidden' selection Glyph.

适用于