Click here to Skip to main content
15,908,445 members
Home / Discussions / C#
   

C#

 
QuestionStructs, Components or Controls as Properties Pin
mike montagne20-Feb-07 10:40
mike montagne20-Feb-07 10:40 
I'm rephrasing this question because its original form was never answered.

I'm trying to define structs and/or controls as properties. Types are declared with the Serializable attribute, and property declarations are marked as Browsable. Both get and set accessors are provided, and runtime code has no problem addressing the properties. The root class descends from Control.

The expected and necessary design time behavior is that Properties view displays these properties under expandable nodes, with the properties/fields of each displayed within the node.

Instead, the property is displayed in gray/disabled text, and there is no expandable node.

What else do we have to do, or what might we have done wrong, which denies us this intended behavior?

TIA,

m
AnswerRe: Structs, Components or Controls as Properties Pin
tgrt20-Feb-07 12:36
tgrt20-Feb-07 12:36 
GeneralRe: Structs, Components or Controls as Properties Pin
mike montagne20-Feb-07 13:24
mike montagne20-Feb-07 13:24 
GeneralRe: Structs, Components or Controls as Properties Pin
mike montagne21-Feb-07 6:47
mike montagne21-Feb-07 6:47 
GeneralRe: Structs, Components or Controls as Properties Pin
mike montagne21-Feb-07 7:55
mike montagne21-Feb-07 7:55 
GeneralSOLVED Pin
mike montagne21-Feb-07 18:02
mike montagne21-Feb-07 18:02 
GeneralDefault Attribute Sensitivity Discovered Pin
mike montagne22-Feb-07 11:46
mike montagne22-Feb-07 11:46 
QuestionHandling events for properties Pin
Mark F.20-Feb-07 10:27
Mark F.20-Feb-07 10:27 
AnswerRe: Handling events for properties Pin
tgrt20-Feb-07 12:49
tgrt20-Feb-07 12:49 
Questiondisplay the required portion [modified] Pin
samreengr820-Feb-07 9:51
samreengr820-Feb-07 9:51 
AnswerRe: display the required portion Pin
mike montagne20-Feb-07 11:48
mike montagne20-Feb-07 11:48 
GeneralRe: display the required portion Pin
samreengr820-Feb-07 21:45
samreengr820-Feb-07 21:45 
GeneralRe: display the required portion Pin
mike montagne22-Feb-07 11:54
mike montagne22-Feb-07 11:54 
Questionselection of line Pin
HexaDeveloper20-Feb-07 8:52
HexaDeveloper20-Feb-07 8:52 
AnswerRe: selection of line Pin
Ennis Ray Lynch, Jr.20-Feb-07 11:13
Ennis Ray Lynch, Jr.20-Feb-07 11:13 
Questionmethod declaration Pin
HUMPPAAA!20-Feb-07 7:54
HUMPPAAA!20-Feb-07 7:54 
AnswerRe: method declaration Pin
PIEBALDconsult20-Feb-07 8:19
mvePIEBALDconsult20-Feb-07 8:19 
AnswerRe: method declaration Pin
Ennis Ray Lynch, Jr.20-Feb-07 8:19
Ennis Ray Lynch, Jr.20-Feb-07 8:19 
Questioncopyin the lower image to upper transparent window Pin
sushantkaura20-Feb-07 7:41
sushantkaura20-Feb-07 7:41 
AnswerRe: copyin the lower image to upper transparent window Pin
mike montagne20-Feb-07 11:44
mike montagne20-Feb-07 11:44 
QuestionIterate GAC Assemblies Pin
paas20-Feb-07 7:08
paas20-Feb-07 7:08 
QuestionVirus Scaning of Files Pin
Muhammad Nauman Yousuf20-Feb-07 6:47
Muhammad Nauman Yousuf20-Feb-07 6:47 
QuestionSave File Dialog with uneditable directory path Pin
aei_totten20-Feb-07 6:18
aei_totten20-Feb-07 6:18 
AnswerRe: Save File Dialog with uneditable directory path Pin
Dave Kreskowiak20-Feb-07 6:46
mveDave Kreskowiak20-Feb-07 6:46 
QuestionProblem with context menu Pin
Muhammad Nauman Yousuf20-Feb-07 6:16
Muhammad Nauman Yousuf20-Feb-07 6:16 

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.