|
|
@ -313,7 +313,7 @@ namespace Microsoft.Windows.Controls |
|
|
else if (e.Key == Key.Space) |
|
|
else if (e.Key == Key.Space) |
|
|
{ |
|
|
{ |
|
|
if (provider.InsertAt(" ", position)) |
|
|
if (provider.InsertAt(" ", position)) |
|
|
UpdateText(provider, position); |
|
|
UpdateText(provider, ++position); |
|
|
e.Handled = true; |
|
|
e.Handled = true; |
|
|
} |
|
|
} |
|
|
else if (e.Key == Key.Back)//handle the back space
|
|
|
else if (e.Key == Key.Back)//handle the back space
|
|
|
@ -395,7 +395,8 @@ namespace Microsoft.Windows.Controls |
|
|
{ |
|
|
{ |
|
|
IncludePrompt = this.IncludePrompt, |
|
|
IncludePrompt = this.IncludePrompt, |
|
|
IncludeLiterals = this.IncludeLiterals, |
|
|
IncludeLiterals = this.IncludeLiterals, |
|
|
PromptChar = this.PromptChar |
|
|
PromptChar = this.PromptChar, |
|
|
|
|
|
ResetOnSpace = false //should make this a property
|
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|