Files
EgtCAM5/OptionPanel/DrawOptionPanel/InputExpander/InputExpanderV.xaml.vb
2024-10-09 14:42:27 +02:00

12 lines
354 B
VB.net

Public Class InputExpanderV
Private Sub TextBox_PreviewKeyDown(sender As Object, e As KeyEventArgs)
If e.Key = Key.Enter And Keyboard.Modifiers = ModifierKeys.Shift Then
Txt.AcceptsReturn = True
Txt.TextWrapping = TextWrapping.Wrap
Txt.AppendText(Environment.NewLine)
End If
End Sub
End Class