WPF
[ wpf ] 바인딩 된 Datagrid Row Count 수를 Textbox에 불러오기
code094
2021. 7. 7. 09:12
|
1
2
|
<TextBox x:Name="textBox" Text="{Binding Items.Count,ElementName=dataGrid,Mode=OneWay}" IsReadOnly="True"/>
|
cs |
.XAML Textbox에 추가