Skip to main content

AdornerUIManager Members

The component that provides a transparent adorner layer for highlighting certain UI elements and/or displaying notifications for these elements.

Constructors

Name Description
AdornerUIManager() Initializes a new instance of the AdornerUIManager class with the default settings.
AdornerUIManager(IContainer) Initializes a new instance of the AdornerUIManager class with the specified settings.

Properties

Name Description
AllowArrowKeysNavigation Gets or sets whether or not end-users can cycle through selectable adorner elements (e.g., guides) by pressing arrow keys.
AllowTabNavigation Gets or sets whether or not end-users can cycle through selectable adorner elements (e.g., guides) by pressing Tab.
BadgeAppearance Provides access to appearance settings common to all Badge elements within this AdornerUIManager.
BadgeProperties Provides access to properties that affect all Badge elements within this AdornerUIManager.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Elements Provides zero-based indexed access to AdornerElements of any type owned by this AdornerUIManager.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
GuideAppearances Provides access to four sets of appearance settings common to all Guide objects owned by this manager.
GuideProperties Provides access to behavior settings common to all Guide objects owned by this manager.
IsUpdateLocked Gets whether or not this AdornerUIManager has been locked for updating.
Owner Gets or sets the control that owns this AdornerUIManager.
SelectedElement Returns the currently selected adorner element.
ShowGuides Gets or sets whether or not adorner guides should be displayed.
Site Gets or sets the ISite of the Component. Inherited from Component.
ValidationHintAppearances Provides access to three sets of appearance settings, applied to child ValidationHint objects in corresponding validation states.
ValidationHintProperties Provides access to behavior settings common to all ValidationHint objects owned by this manager.

Methods

Name Description
BeginUpdate() Locks the current AdornerUIManager and allows you to modify the control without immediately reflecting their changes.
CalcHitInfo(Point) Returns the HitInfo object for the target location.
CancelUpdate() Unlocks the AdornerUIManager object after it has been locked by the BeginUpdate method, without causing an immediate visual update.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndUpdate() Unlocks the AdornerUIManager and forces it to repaint itself.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
Hide() Hides all AdornerElements owned by this AdornerUIManager.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
Invalidate() Invalidates the region occupied by this AdornerUIManager.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Refresh() Redraws all AdornerUIManager elements.
SelectElement(AdornerElement) Selects the specific AdornerUIManager element.
SelectNext() Activates the item within the AdornerUIManager.Elements collection that follows the currently selected item.
SelectPrev() Activates the item within the AdornerUIManager.Elements collection that precedes the currently selected item.
Show() Forces the AdornerUIManager to display all its child AdornerElements whose visibility is currently set to true.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.
Update() Updates the region occupied by this AdornerUIManager.

Events

Name Description
Click Fires when a user clicks any element owned by this Adorner Manager.
CustomDrawBadge Allows you to paint any Badge manually.
CustomDrawGuide Allows you to paint Guide objects manually.
CustomDrawValidationHint Allows you to paint ValidationHint objects manually.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
QueryGuideFlyoutControl Occurs when a Guide is activated and allows you to populate a flyout panel associated with this guide.
SelectedElementChanged Occurs when a currently selected AdornerUIManager element changes.
See Also