Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

System.Windows.Forms.Design.Behavior Namespace

The System.Windows.Forms.Design.Behavior namespace contains classes for creating custom user interface behavior for components at design time.

The following list shows the classes included in this namespace:

  • A Glyph class for handling painting and hit-testing.

  • An Adorner class for managing a collection of Glyph objects.

  • A BehaviorService class for managing the custom user interface in a designer.

  • A SnapLine class that represents horizontal and vertical line segments that assist users in aligning components at design time.

  Class Description
Public class Adorner Manages a collection of user-interface related Glyph objects. This class cannot be inherited.
Public class Behavior Represents the Behavior objects that are managed by a BehaviorService.
Public class BehaviorDragDropEventArgs Provides data for the BeginDrag and EndDrag events.
Public class BehaviorService Manages user interface in the designer. This class cannot be inherited.
Public class BehaviorServiceAdornerCollection Stores Adorner objects in a strongly typed collection.
Public class BehaviorServiceAdornerCollectionEnumerator Supports iteration over a BehaviorServiceAdornerCollection.
Public class ComponentGlyph Associates a Glyph with its component.
Public class ControlBodyGlyph Associates a Glyph with its control.
Public class Glyph Represents a single user interface (UI) entity managed by an Adorner.
Public class GlyphCollection Stores Glyph objects in a strongly typed collection.
Public class SnapLine Represents the horizontal and vertical line segments that are dynamically created in the user interface (UI) to assist in the design-time layout of controls in a container. This class cannot be inherited.
  Delegate Description
Public delegate BehaviorDragDropEventHandler Represents the methods that will handle the BeginDrag and EndDrag events of a BehaviorService. This class cannot be inherited.
  Enumeration Description
Public enumeration GlyphSelectionType Describes the designer selection state of a Glyph.
Public enumeration SnapLinePriority Specifies the relative importance of a snapline.
Public enumeration SnapLineType Specifies the orientation and relative location of a snapline.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.