Version

Configuring Focus Target (xamBusyIndicator)

Topic Overview

Purpose

This topic explains how to configure explicitly which UIElement receives the focus when the xamBusyIndicator™ is no longer active.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic explains the features supported by the control from developer perspective.

This topic provides an overview of the visual elements of the control.

In this topic

This topic contains the following sections:

Configuring Focus Target

Overview

Use the XamBusyIndicator FocusTarget property to set explicitly which UIElement receives the focus when the xamBusyIndicator control is no longer active.

By default, the FocusTarget property initial value is null.

Property settings

The following table maps the desired behavior to the property settings that manage it.

In order to: Use this property: And set it to:

Set the UIElement that gets focus when the xamBusyIndicator disappears

UIElement

Example

Following is the code that implements this example.

In XAML:

<ig:XamBusyIndicator IsBusy="True" FocusTarget="{Binding ElementName=TxtBox_Input}">
    <TextBox Name="TxtBox_Input" />
</ig:XamBusyIndicator>

Related Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic explains how to display the xamBusyIndicator control.

This topic explains how to configure the xamBusyIndicator busy content.

This topic explains how to configure the delay before displaying the xamBusyIndicator control.

This topic explains how to configure the xamBusyIndicator control to display determine progress.

This topic explains how to customize the xamBusyIndicator overlay style.

This topic explains how to customize the xamBusyIndicator control default animations brushes.