Adorner.Glyphs Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Glyph collection.
public:
property System::Windows::Forms::Design::Behavior::GlyphCollection ^ Glyphs { System::Windows::Forms::Design::Behavior::GlyphCollection ^ get(); };
public System.Windows.Forms.Design.Behavior.GlyphCollection Glyphs { get; }
member this.Glyphs : System.Windows.Forms.Design.Behavior.GlyphCollection
Public ReadOnly Property Glyphs As GlyphCollection
Property Value
A collection of Glyph objects.
Examples
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));
myAdorner = new Adorner();
BehaviorService.Adorners.Add(myAdorner);
myAdorner.Glyphs.Add(new MyGlyph(BehaviorService, Control));
myAdorner = New Adorner()
BehaviorService.Adorners.Add(myAdorner)
myAdorner.Glyphs.Add(New MyGlyph(BehaviorService, Control))
Applies to
See also
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.