Click here to Skip to main content
14,579,712 members
   

C#

 
AnswerRe: Targa files displayed in openFileDialog Pin
Dave Kreskowiak14-Apr-20 4:37
mveDave Kreskowiak14-Apr-20 4:37 
QuestionProgramming Tcp with C# Pin
Member 1478193513-Apr-20 21:13
MemberMember 1478193513-Apr-20 21:13 
AnswerRe: Programming Tcp with C# Pin
OriginalGriff13-Apr-20 21:25
mveOriginalGriff13-Apr-20 21:25 
GeneralRe: Programming Tcp with C# Pin
Member 1478193519-Apr-20 3:24
MemberMember 1478193519-Apr-20 3:24 
QuestionSaving usercontrol design-time properties Pin
Crazy Joe Devola13-Apr-20 14:49
MemberCrazy Joe Devola13-Apr-20 14:49 
AnswerRe: Saving usercontrol design-time properties Pin
OriginalGriff13-Apr-20 20:00
mveOriginalGriff13-Apr-20 20:00 
AnswerRe: Saving usercontrol design-time properties Pin
Richard Deeming14-Apr-20 0:13
mveRichard Deeming14-Apr-20 0:13 
Crazy Joe Devola wrote:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
That line is the problem. The documentation isn't particularly clear, but:
With the DesignerSerializationVisibilityAttribute, you can indicate whether the value for a property is Visible, and should be persisted in initialization code, Hidden, and should not be persisted in initialization code, or consists of Content, which should have initialization code generated for each public, not hidden property of the object assigned to the property.
The property value is a String. The String type doesn't have any public properties which can be set, so no initialization code will be generated.

Either set it to DesignerSerializationVisibility.Visible, or remove the attribute.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Saving usercontrol design-time properties Pin
Crazy Joe Devola14-Apr-20 13:45
MemberCrazy Joe Devola14-Apr-20 13:45 
QuestionPrint Multiple Page in c# Pin
Mohamed Fahad13-Apr-20 9:08
MemberMohamed Fahad13-Apr-20 9:08 
AnswerRe: Print Multiple Page in c# Pin
Pete O'Hanlon13-Apr-20 9:30
subeditorPete O'Hanlon13-Apr-20 9:30 
QuestionMulti threading in c# Pin
User-862169513-Apr-20 1:49
MemberUser-862169513-Apr-20 1:49 
AnswerRe: Multi threading in c# Pin
OriginalGriff13-Apr-20 3:00
mveOriginalGriff13-Apr-20 3:00 
QuestionOPC Client Using C# Titanium Library Pin
Member 147907399-Apr-20 20:17
MemberMember 147907399-Apr-20 20:17 
AnswerRe: OPC Client Using C# Titanium Library Pin
Gerry Schmitz10-Apr-20 6:46
mveGerry Schmitz10-Apr-20 6:46 
GeneralRe: OPC Client Using C# Titanium Library Pin
Member 1479073910-Apr-20 7:03
MemberMember 1479073910-Apr-20 7:03 
GeneralRe: OPC Client Using C# Titanium Library Pin
Mycroft Holmes10-Apr-20 12:35
professionalMycroft Holmes10-Apr-20 12:35 
AnswerRe: OPC Client Using C# Titanium Library Pin
Pete O'Hanlon14-Apr-20 5:42
subeditorPete O'Hanlon14-Apr-20 5:42 
Questiontextbox update Pin
_Q12_9-Apr-20 19:19
Member_Q12_9-Apr-20 19:19 
AnswerRe: textbox update Pin
_Q12_9-Apr-20 21:20
Member_Q12_9-Apr-20 21:20 
AnswerRe: textbox update Pin
Gerry Schmitz10-Apr-20 6:43
mveGerry Schmitz10-Apr-20 6:43 
AnswerRe: textbox update Pin
BillWoodruff16-Apr-20 18:06
mveBillWoodruff16-Apr-20 18:06 
QuestionUpate Exe Build Number Pin
Kevin Marois9-Apr-20 14:05
professionalKevin Marois9-Apr-20 14:05 
AnswerRe: Upate Exe Build Number Pin
Richard Deeming14-Apr-20 0:05
mveRichard Deeming14-Apr-20 0:05 
Questiontraversing two lists simultaneously Pin
Pita329-Apr-20 9:11
MemberPita329-Apr-20 9:11 
AnswerRe: traversing two lists simultaneously Pin
OriginalGriff9-Apr-20 9:29
mveOriginalGriff9-Apr-20 9:29 

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.