Glyph Class

Note: This class is new in the .NET Framework version 2.0.

Represents a single user interface (UI) entity managed by an Adorner.

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

public ref class Glyph abstract
public abstract class Glyph
public abstract class Glyph

The sole purpose of a Glyph is to paint and hit test. A Glyph does not have a window handle (HWND), as it is rendered on the adorner window control of the BehaviorService. Each Glyph can have a Behavior associated with it. A successfully hit-tested Glyph has the opportunity to push a new or different Behavior onto the behavior stack of the BehaviorService.

For more information, see Behavior Service Overview.

The following example demonstrates how to create your own Glyph based class with Behavior associated with it. This code example is part of a larger example provided for the BehaviorService class.

No code example is currently available or this language may not be supported.

System.Object
  System.Windows.Forms.Design.Behavior.Glyph
     System.Windows.Forms.Design.Behavior.ComponentGlyph

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: