2012-06-07 1 views
0

WPF 데이터 바인딩에서 요소 이름 특성을 사용합니다.WPF 데이터 바인딩의 요소 이름 특성

<Window x:Class="WpfApplication1.Window1" 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Title="Window1" Height="300" Width="300" Name="win"> 
    <TextBox x:Name="txtData" width="100" height="26" Text={Binding ElementName=win,Mode=TwoWay,Path=Data}/> 
<Window> 

감사합니다, Priyank Thakkar

답변

관련 문제