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.

ClassDescription
System_CAPS_pubclassAdorner

Manages a collection of user-interface related Glyph objects. This class cannot be inherited.

System_CAPS_pubclassBehavior

Represents the Behavior objects that are managed by a BehaviorService.

System_CAPS_pubclassBehaviorDragDropEventArgs

Provides data for the BeginDrag and EndDrag events.

System_CAPS_pubclassBehaviorService

Manages user interface in the designer. This class cannot be inherited.

System_CAPS_pubclassBehaviorServiceAdornerCollection

Stores Adorner objects in a strongly typed collection.

System_CAPS_pubclassBehaviorServiceAdornerCollectionEnumerator

Supports iteration over a BehaviorServiceAdornerCollection.

System_CAPS_pubclassComponentGlyph

Associates a Glyph with its component.

System_CAPS_pubclassControlBodyGlyph

Associates a Glyph with its control.

System_CAPS_pubclassGlyph

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

System_CAPS_pubclassGlyphCollection

Stores Glyph objects in a strongly typed collection.

System_CAPS_pubclassSnapLine

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
System_CAPS_pubdelegateBehaviorDragDropEventHandler

Represents the methods that will handle the BeginDrag and EndDrag events of a BehaviorService. This class cannot be inherited.

EnumerationDescription
System_CAPS_pubenumGlyphSelectionType

Describes the designer selection state of a Glyph.

System_CAPS_pubenumSnapLinePriority

Specifies the relative importance of a snapline.

System_CAPS_pubenumSnapLineType

Specifies the orientation and relative location of a snapline.

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.

Return to top
Show: