Export (0) Print
Expand All

BehaviorService Members

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

The following tables list the members exposed by the BehaviorService type.

  Name Description
Public property Adorners Gets the BehaviorServiceAdornerCollection.
Public property AdornerWindowGraphics Gets the Graphics for the adorner window.
Public property CurrentBehavior Gets the Behavior at the top of the behavior stack without removing it.
Top

(see also Protected Methods )
  Name Description
Public method AdornerWindowPointToScreen Translates a Point in the adorner window to screen coordinates.
Public method AdornerWindowToScreen Gets the location of the adorner window in screen coordinates.
Public method ControlRectInAdornerWindow Returns the bounding Rectangle of a Control.
Public method ControlToAdornerWindow Returns the location of a Control translated to adorner window coordinates.
Public method Dispose Releases all resources used by the BehaviorService.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetNextBehavior Returns the Behavior immediately after the given Behavior in the behavior stack.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Invalidate Overloaded. Invalidates the adorner window of the BehaviorService.
Public method MapAdornerWindowPoint Converts a point in a handle's coordinate system to the adorner window coordinates.
Public method PopBehavior Removes and returns the Behavior at the top of the stack.
Public method PushBehavior Pushes a Behavior onto the behavior stack.
Public method PushCaptureBehavior Pushes a Behavior onto the behavior stack and assigns mouse capture to the behavior.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ScreenToAdornerWindow Translates a point in screen coordinates into the adorner window coordinates of the BehaviorService.
Public method SyncSelection Synchronizes all selection glyphs.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Public event BeginDrag Occurs when the BehaviorService starts a drag-and-drop operation.
Public event EndDrag Occurs when the BehaviorService completes a drag operation.
Public event Synchronize Occurs when the current selection should be refreshed.
Top

Community Additions

ADD
Show:
© 2015 Microsoft