Adorner.Glyphs Property

 

Gets the Glyph collection.

Namespace:   System.Windows.Forms.Design.Behavior
Assembly:  System.Design (in System.Design.dll)

public GlyphCollection Glyphs { get; }

Property Value

Type: System.Windows.Forms.Design.Behavior.GlyphCollection

A collection of Glyph objects.

The following example demonstrates how to access the Glyph collection. This code example is part of a larger example provided for the BehaviorService class.

myAdorner = new Adorner();
BehaviorService.Adorners.Add(myAdorner);
myAdorner.Glyphs.Add(new MyGlyph(BehaviorService, Control));

.NET Framework
Available since 2.0
Return to top
Show: