System.Windows.Forms.Design.Behavior.BehaviorService: Method Members

The methods of System.Windows.Forms.Design.Behavior.BehaviorService are listed below. For a list of all members, see the BehaviorService Members list.

See Also: Inherited members from System.Object

Public Methods

AdornerWindowPointToScreen(System.Drawing.Point) : System.Drawing.Point

Translates a System.Drawing.Point in the adorner window to screen coordinates.

AdornerWindowToScreen() : System.Drawing.Point

Gets the location of the adorner window in screen coordinates.

ControlRectInAdornerWindow(System.Windows.Forms.Control) : System.Drawing.Rectangle

Returns the bounding System.Drawing.Rectangle of a System.Windows.Forms.Control.

ControlToAdornerWindow(System.Windows.Forms.Control) : System.Drawing.Point

Returns the location of a System.Windows.Forms.Control translated to adorner window coordinates.

Dispose()

Releases all resources used by the System.Windows.Forms.Design.Behavior.BehaviorService.

GetNextBehavior(Behavior) : Behavior

Returns the System.Windows.Forms.Design.Behavior.Behavior immediately after the given System.Windows.Forms.Design.Behavior.Behavior in the behavior stack.

Invalidate()

Invalidates the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

Invalidate(System.Drawing.Rectangle)

Invalidates, within the adorner window, the specified area of the System.Windows.Forms.Design.Behavior.BehaviorService.

Invalidate(System.Drawing.Region)

Invalidates, within the adorner window, the specified area of the System.Windows.Forms.Design.Behavior.BehaviorService.

MapAdornerWindowPoint(IntPtr, System.Drawing.Point) : System.Drawing.Point

Converts a point in a handle's coordinate system to the adorner window coordinates.

PopBehavior(Behavior) : Behavior

Removes and returns the System.Windows.Forms.Design.Behavior.Behavior at the top of the stack.

PushBehavior(Behavior)

Pushes a System.Windows.Forms.Design.Behavior.Behavior onto the behavior stack.

PushCaptureBehavior(Behavior)

Pushes a System.Windows.Forms.Design.Behavior.Behavior onto the behavior stack and assigns mouse capture to the behavior.

ScreenToAdornerWindow(System.Drawing.Point) : System.Drawing.Point

Translates a point in screen coordinates into the adorner window coordinates of the System.Windows.Forms.Design.Behavior.BehaviorService.

SyncSelection()

Synchronizes all selection glyphs.