Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
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.

  ClassDescription
Public classAdorner Manages a collection of user-interface related Glyph objects. This class cannot be inherited.
Public classBehavior Represents the Behavior objects that are managed by a BehaviorService.
Public classBehaviorDragDropEventArgs Provides data for the BeginDrag and EndDrag events.
Public classBehaviorService Manages user interface in the designer. This class cannot be inherited.
Public classBehaviorServiceAdornerCollection Stores Adorner objects in a strongly typed collection.
Public classBehaviorServiceAdornerCollectionEnumerator Supports iteration over a BehaviorServiceAdornerCollection.
Public classComponentGlyph Associates a Glyph with its component.
Public classControlBodyGlyph Associates a Glyph with its control.
Public classGlyph Represents a single user interface (UI) entity managed by an Adorner.
Public classGlyphCollection Stores Glyph objects in a strongly typed collection.
Public classSnapLine 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.
  DelegateDescription
Public delegateBehaviorDragDropEventHandler Represents the methods that will handle the BeginDrag and EndDrag events of a BehaviorService. This class cannot be inherited.
  EnumerationDescription
Public enumerationGlyphSelectionType Describes the designer selection state of a Glyph.
Public enumerationSnapLinePriority Specifies the relative importance of a snapline.
Public enumerationSnapLineType Specifies the orientation and relative location of a snapline.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker