Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I permit only small letters in a TextBox? Pin
Pete O'Hanlon18-Sep-11 23:42
mvePete O'Hanlon18-Sep-11 23:42 
GeneralRe: How can I permit only small letters in a TextBox? Pin
Jithin c raj18-Sep-11 23:49
Jithin c raj18-Sep-11 23:49 
GeneralRe: How can I permit only small letters in a TextBox? Pin
Pete O'Hanlon18-Sep-11 23:55
mvePete O'Hanlon18-Sep-11 23:55 
AnswerRe: How can I permit only small letters in a TextBox? Pin
pkwd19-Sep-11 0:50
pkwd19-Sep-11 0:50 
GeneralRe: How can I permit only small letters in a TextBox? Pin
Pete O'Hanlon19-Sep-11 0:55
mvePete O'Hanlon19-Sep-11 0:55 
GeneralRe: How can I permit only small letters in a TextBox? Pin
pkwd19-Sep-11 2:58
pkwd19-Sep-11 2:58 
GeneralRe: How can I permit only small letters in a TextBox? Pin
Pete O'Hanlon19-Sep-11 3:07
mvePete O'Hanlon19-Sep-11 3:07 
AnswerRe: How can I permit only small letters in a TextBox? Pin
Ravi Bhavnani19-Sep-11 1:29
professionalRavi Bhavnani19-Sep-11 1:29 
You may also want to consider handling the TextChanged[^] event and using Regex to fix up the current text.  Since the event fires when the control's Text property is changed both as a result of user interaction as well as programatically, you'll need a flag to ignore the event when it fires as a result of a fixup.

Edit: I just realized you're using WPF.  In that case, see this[^] event.

/ravi
My new year resolution: 2048 x 1536
Home | Articles | My .NET bits | Freeware
ravib(at)ravib(dot)com

QuestionHelp add new section to this config please Pin
mwpeck16-Sep-11 6:13
mwpeck16-Sep-11 6:13 
AnswerRe: Help add new section to this config please Pin
Geoff Williams16-Sep-11 6:48
Geoff Williams16-Sep-11 6:48 
GeneralRe: Help add new section to this config please Pin
mwpeck16-Sep-11 7:00
mwpeck16-Sep-11 7:00 
GeneralRe: Help add new section to this config please Pin
PIEBALDconsult16-Sep-11 14:52
mvePIEBALDconsult16-Sep-11 14:52 
GeneralRe: Help add new section to this config please Pin
mwpeck16-Sep-11 15:06
mwpeck16-Sep-11 15:06 
GeneralRe: Help add new section to this config please Pin
PIEBALDconsult16-Sep-11 17:21
mvePIEBALDconsult16-Sep-11 17:21 
GeneralRe: Help add new section to this config please Pin
mwpeck16-Sep-11 17:40
mwpeck16-Sep-11 17:40 
GeneralRe: Help add new section to this config please Pin
PIEBALDconsult16-Sep-11 17:52
mvePIEBALDconsult16-Sep-11 17:52 
QuestionSpeed of execution Pin
Kevin1316-Sep-11 5:10
Kevin1316-Sep-11 5:10 
AnswerRe: Speed of execution Pin
Simon Bang Terkildsen16-Sep-11 5:54
Simon Bang Terkildsen16-Sep-11 5:54 
GeneralRe: Speed of execution Pin
Kevin1316-Sep-11 6:43
Kevin1316-Sep-11 6:43 
AnswerRe: Speed of execution Pin
Matt Meyer16-Sep-11 6:11
Matt Meyer16-Sep-11 6:11 
GeneralRe: Speed of execution Pin
Kevin1316-Sep-11 6:34
Kevin1316-Sep-11 6:34 
GeneralRe: Speed of execution Pin
Matt Meyer16-Sep-11 7:02
Matt Meyer16-Sep-11 7:02 
AnswerRe: Speed of execution Pin
AspDotNetDev16-Sep-11 7:02
protectorAspDotNetDev16-Sep-11 7:02 
AnswerRe: Speed of execution Pin
Luc Pattyn16-Sep-11 7:18
sitebuilderLuc Pattyn16-Sep-11 7:18 
AnswerRe: Speed of execution Pin
Eddy Vluggen16-Sep-11 9:51
professionalEddy Vluggen16-Sep-11 9:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.