ParentControlDesigner.GetControlGlyph(GlyphSelectionType) Method

Definition

Gets a body glyph that represents the bounds of the control.

protected:
 override System::Windows::Forms::Design::Behavior::ControlBodyGlyph ^ GetControlGlyph(System::Windows::Forms::Design::Behavior::GlyphSelectionType selectionType);
protected override System.Windows.Forms.Design.Behavior.ControlBodyGlyph GetControlGlyph (System.Windows.Forms.Design.Behavior.GlyphSelectionType selectionType);
override this.GetControlGlyph : System.Windows.Forms.Design.Behavior.GlyphSelectionType -> System.Windows.Forms.Design.Behavior.ControlBodyGlyph
Protected Overrides Function GetControlGlyph (selectionType As GlyphSelectionType) As ControlBodyGlyph

Parameters

selectionType
GlyphSelectionType

A GlyphSelectionType value that specifies the selection state.

Returns

A body glyph that represents the bounds of the control.

Remarks

The body glyph is responsible for hit testing the control's designer and forwarding messages directly to the designer.

Applies to

See also