How to: Set the Target Property of a Label

This example shows how to set the Target property of a Label control.

Example

The following example shows how to create a Label that uses AccessText and is bound to the target TextBox.

<TextBox Name="tb" Width="50"/>
<Label Target="tb">_File</Label>

See Also

Tasks

How to: Create a Control That Has an Access Key and Text Wrapping

Other Resources

Label How-to Topics