Skip to main content

ContentItem.ActivateOnFocusing Property

Gets or sets whether the content item is activated on getting logical or keyboard focus. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public ActivateOnFocusing ActivateOnFocusing { get; set; }

Property Value

Type Description
ActivateOnFocusing

Any of the ActivateOnFocusing enumeration values.

Available values:

Name Description
None

The content item is not activated.

Logical

The content item is activated on getting logical focus.

Keyboard

The content item is activated on getting keyboard focus.

Remarks

Set the ActivateOnFocusing property to ActivateOnFocusing.None to disable activating the ContentItem on getting any focus.

The ActivateOnFocusing property is in effect when the ContentItem.FocusContentOnActivating property is set to true.

See Also