I am having an issue , the textbov does allow space when pressing space bar

Sgcino Ngema 0 Reputation points
2024-07-04T11:30:05.2+00:00
								<TextBox

									x:Name="txtLocationName"

									Grid.Column="3"

									Grid.Row="5"

									Height="22"

									VerticalAlignment="Center"

									TabIndex="17"

									IsEnabled="{Binding boolEnableLocationName}"

									Text="{Binding Path=strSearchLocationNameCaller, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged,NotifyOnSourceUpdated=True}"

									PreviewKeyDown="txtLocationName_PreviewKeyDown"></TextBox>
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,706 questions
{count} votes