Skip to main content

AdornerUIManager.Owner Property

Gets or sets the control that owns this AdornerUIManager.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v23.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[DefaultValue(null)]
[DXCategory("Behavior")]
public ContainerControl Owner { get; set; }

Property Value

Type Default Description
ContainerControl null

A ContainerControl that owns this AdornerUIManager.

Remarks

The Owner property is automatically set to a form/user control, on which this AdornerUIManager resides. Typically, there is no need to modify this setting at design time.

If the AdornerUIManager was created in code, bear in mind the following when setting the Owner property:

  • bounds of the adorner layer, drawn by the AdornerUIManager, are equal to this manager’s owner bounds;
  • if an adorner element relates to the UI element (see the AdornerElement.TargetElement property), which is not a child element for the manager’s owner, this adorner element will not be displayed.
See Also