1

I have a multiline textbox in my wpf application:

<TextBox
    x:Name="TextBoxText"
    Height="auto"
    Margin="{StaticResource ThicknessMarginTextBox}"
    VerticalAlignment="Top"
    MaxLines="5"
    Text="{Binding TextInputMultiline, Path=Text, UpdateSourceTrigger=PropertyChanged}"
    TextWrapping="Wrap" />

how can i get the character index or position of a linebreak?

FoggyFinder
  • 2,230
  • 2
  • 20
  • 34

0 Answers0