개정판 baacbc36
issue #000 Page 숫자를 입력하는 TextBox tlcurrentPage에 이벤트 PreviewTextInput,TextChanged 추가
TextChanged 되기전 PreviewTextInput 이벤트에서 숫자 입력만 받게 하고 텍스트를 복사한 경우 TextChanged 이벤트에서 텍스트를 Validation함
Change-Id: Id25ef59ab6a19d660c5982b2d509ba596a9d076d
KCOM/Views/TopMenu.xaml | ||
---|---|---|
799 | 799 |
<RowDefinition/> |
800 | 800 |
</Grid.RowDefinitions> |
801 | 801 |
|
802 |
<TextBox Text="1" Width="30" Padding="0" Grid.Row="0" Grid.Column="0" BorderThickness="3" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="5,0" x:Name="tlcurrentPage" KeyDown="tlcurrentPage_KeyDown"/> |
|
802 |
<TextBox Text="1" Width="30" Padding="0" Grid.Row="0" Grid.Column="0" BorderThickness="3" VerticalAlignment="Center" HorizontalContentAlignment="Center" Margin="5,0" x:Name="tlcurrentPage" |
|
803 |
KeyDown="tlcurrentPage_KeyDown" PreviewTextInput="TlcurrentPage_PreviewTextInput" TextChanged="TlcurrentPage_TextChanged"/> |
|
803 | 804 |
<TextBlock Grid.Row="0" Grid.Column="1" Margin="0,7,5,0"> |
804 | 805 |
<TextBlock Text="/" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center"/> |
805 | 806 |
<TextBlock Text="{Binding Document_Info.Count, Source={x:Static common:ViewerDataModel.Instance}}" Padding="3" VerticalAlignment="Center" HorizontalAlignment="Center" x:Name="tlPageCount"/> |
내보내기 Unified diff