共用方式為


ControlDesigner.GetGlyphs(GlyphSelectionType) 方法

定義

取得 Glyph 物件的集合,表示標準控制項的選取範圍框線和抓取控點。

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 值,指定選取狀態。

傳回

GlyphCollection

Glyph 物件的集合。

備註

請注意,根據 selectionTypeGlyph 傳回的物件將代表下列其中一個選取狀態:

  • 具有抓取控點的可完全調整大小的選取範圍框線;

  • 鎖定的選取範圍框線;

  • 單一 'hidden' 選取專案 Glyph

適用於