Click here to Skip to main content
15,889,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: Any suggestions for "compiling" strings? Pin
jschell13-Sep-14 6:57
jschell13-Sep-14 6:57 
QuestionDatagridcombocell Problem Pin
hussainroyal11-Sep-14 10:39
hussainroyal11-Sep-14 10:39 
SuggestionRe: Datagridcombocell Problem Pin
Richard MacCutchan11-Sep-14 21:32
mveRichard MacCutchan11-Sep-14 21:32 
GeneralRe: Datagridcombocell Problem Pin
hussainroyal11-Sep-14 22:03
hussainroyal11-Sep-14 22:03 
QuestionGet a property from an internal .NET framework class Pin
Mc_Topaz11-Sep-14 4:20
Mc_Topaz11-Sep-14 4:20 
AnswerRe: Get a property from an internal .NET framework class Pin
Richard Deeming11-Sep-14 4:38
mveRichard Deeming11-Sep-14 4:38 
GeneralRe: Get a property from an internal .NET framework class Pin
Mc_Topaz11-Sep-14 4:46
Mc_Topaz11-Sep-14 4:46 
AnswerRe: Get a property from an internal .NET framework class Pin
Dave Kreskowiak11-Sep-14 4:45
mveDave Kreskowiak11-Sep-14 4:45 
Mc_Topaz wrote:
* I cannot allow an empty string for any properties.
* I want a revert
functionallity to revert to the old value.


This is easily done in each of your properties Set code. Just check the value of the incoming string and don't set the new value in the backing field of the property if it's empty or null.

You don't need any of the PropertyGrid code to do this.

Localized property names don't even come into play.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

AnswerRe: Get a property from an internal .NET framework class Pin
Eddy Vluggen11-Sep-14 5:20
professionalEddy Vluggen11-Sep-14 5:20 
GeneralRe: Get a property from an internal .NET framework class Pin
OriginalGriff11-Sep-14 5:29
mveOriginalGriff11-Sep-14 5:29 
GeneralRe: Get a property from an internal .NET framework class Pin
PIEBALDconsult11-Sep-14 6:19
mvePIEBALDconsult11-Sep-14 6:19 
GeneralRe: Get a property from an internal .NET framework class Pin
Eddy Vluggen11-Sep-14 6:51
professionalEddy Vluggen11-Sep-14 6:51 
GeneralRe: Get a property from an internal .NET framework class Pin
OriginalGriff11-Sep-14 8:50
mveOriginalGriff11-Sep-14 8:50 
GeneralRe: Get a property from an internal .NET framework class Pin
Eddy Vluggen11-Sep-14 9:39
professionalEddy Vluggen11-Sep-14 9:39 
QuestionTX TextControl 21.0 Document viewer example in c# Pin
pitchaiyan11-Sep-14 3:44
pitchaiyan11-Sep-14 3:44 
QuestionRe: TX TextControl 21.0 Document viewer example in c# Pin
ZurdoDev11-Sep-14 4:27
professionalZurdoDev11-Sep-14 4:27 
AnswerRe: TX TextControl 21.0 Document viewer example in c# Pin
Dave Kreskowiak11-Sep-14 4:38
mveDave Kreskowiak11-Sep-14 4:38 
GeneralRe: TX TextControl 21.0 Document viewer example in c# Pin
PIEBALDconsult12-Sep-14 5:34
mvePIEBALDconsult12-Sep-14 5:34 
GeneralRe: TX TextControl 21.0 Document viewer example in c# Pin
Dave Kreskowiak12-Sep-14 5:39
mveDave Kreskowiak12-Sep-14 5:39 
QuestionHow to loop in timers Pin
Member 1107411510-Sep-14 21:02
Member 1107411510-Sep-14 21:02 
AnswerRe: How to loop in timers Pin
OriginalGriff10-Sep-14 21:52
mveOriginalGriff10-Sep-14 21:52 
GeneralRe: How to loop in timers Pin
Member 1107411510-Sep-14 22:02
Member 1107411510-Sep-14 22:02 
GeneralRe: How to loop in timers Pin
OriginalGriff10-Sep-14 22:09
mveOriginalGriff10-Sep-14 22:09 
GeneralRe: How to loop in timers Pin
Member 1107411510-Sep-14 22:41
Member 1107411510-Sep-14 22:41 
GeneralRe: How to loop in timers Pin
OriginalGriff10-Sep-14 22:57
mveOriginalGriff10-Sep-14 22:57 

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.