Adorner::Glyphs Property

 

Gets the Glyph collection.

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

public:
property GlyphCollection^ Glyphs {
	GlyphCollection^ 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.

demoAdorner = gcnew Adorner();
BehaviorService->Adorners->Add(demoAdorner);
demoAdorner->Glyphs->Add 
    (gcnew DemoGlyph(BehaviorService, Control));

.NET Framework
Available since 2.0
Return to top
Show: