■ TextEdit 엘리먼트의 EditValue 속성에 바인딩을 설정하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<Grid xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"> <dxe:TextEdit x:Name="textEdit" Width="200" Height="90" FontFamily="바탕체" FontSize="16" VerticalContentAlignment="Top" AcceptsReturn="True" ValidateOnTextInput="True" EditValue="{Binding Text, UpdateSourceTrigger=PropertyChanged}" /> </Grid> |