例 次の例では、バインディングを使用してターゲットを設定する を作成 Label する方法を示します。 <TextBox Name="tb" Width="50"/> <Label Target="{Binding ElementName=tb}">_File</Label> 次の例では、アクセス キーがあり、テキスト折り返しをサポートする Label を作成する方法を説明します。 <TextBox Name="textBox1" Width="50" Height="20"/> <Label Width="200" HorizontalAlignment="Left" Target="{Binding ElementName=textBox1}"> <AccessText TextWrapping="WrapWithOverflow"> _Another long piece of te
![Label クラス (System.Windows.Controls)](https://cdn-ak-scissors.b.st-hatena.com/image/square/d6e4cb632c7025e9f5e05fd314fbf6dcd6144e8d/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fen-us%2Fmedia%2Fopen-graph-image.png)