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

C#

 
GeneralRe: Detect new running process Pin
ian mariano23-Mar-04 11:20
ian mariano23-Mar-04 11:20 
GeneralRe: Detect new running process Pin
Robert M Greene26-Oct-04 7:39
Robert M Greene26-Oct-04 7:39 
GeneralGraphics.MeasureString Pin
compbssn200323-Mar-04 5:30
compbssn200323-Mar-04 5:30 
GeneralRe: Graphics.MeasureString Pin
Heath Stewart23-Mar-04 5:33
protectorHeath Stewart23-Mar-04 5:33 
GeneralRe: Graphics.MeasureString Pin
leppie23-Mar-04 6:06
leppie23-Mar-04 6:06 
GeneralRe: Graphics.MeasureString Pin
compbssn200323-Mar-04 19:20
compbssn200323-Mar-04 19:20 
GeneralExposing constituent control properties in VS.NET Pin
Matt Davison23-Mar-04 5:07
Matt Davison23-Mar-04 5:07 
GeneralRe: Exposing constituent control properties in VS.NET Pin
Heath Stewart23-Mar-04 5:30
protectorHeath Stewart23-Mar-04 5:30 
The code is generated to get/set properties on your class - the container class in this case. It would set your property to whatever text you use. When the code is executed, your property is set at runtime which sets the property on the TextBox. If you're looking for a way to control the code generation so that setting your property actually serializes the code so that the child TextBox is set, you're not going to find an easy one and I'm not sure it's even possible since VS.NET (or any designer, like SharpDeveloper) is what provides the code serialization implementation.

As far as exposing all the properties of a child control, you need to decide what you want to expose to the user. The whole idea of a complex container control is to encapsulate other controls as you require. If you end up exposing all the properties of a child control, then what's the point of encapsulating it in the first place?

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Exposing constituent control properties in VS.NET Pin
Heath Stewart23-Mar-04 8:16
protectorHeath Stewart23-Mar-04 8:16 
QuestionHow can I do the following... Pin
profoundwhispers23-Mar-04 4:36
profoundwhispers23-Mar-04 4:36 
AnswerRe: How can I do the following... Pin
Heath Stewart23-Mar-04 4:54
protectorHeath Stewart23-Mar-04 4:54 
GeneralRe: How can I do the following... Pin
profoundwhispers23-Mar-04 5:08
profoundwhispers23-Mar-04 5:08 
GeneralRe: How can I do the following... Pin
Heath Stewart23-Mar-04 5:26
protectorHeath Stewart23-Mar-04 5:26 
Generalinput a barecode Pin
tonaxxl23-Mar-04 4:18
tonaxxl23-Mar-04 4:18 
GeneralRe: input a barecode Pin
Dave Kreskowiak23-Mar-04 4:26
mveDave Kreskowiak23-Mar-04 4:26 
GeneralRe: input a barecode Pin
tonaxxl23-Mar-04 4:35
tonaxxl23-Mar-04 4:35 
GeneralRe: input a barecode Pin
Dave Kreskowiak23-Mar-04 5:24
mveDave Kreskowiak23-Mar-04 5:24 
GeneralRe: input a barecode Pin
tonaxxl23-Mar-04 16:42
tonaxxl23-Mar-04 16:42 
GeneralRe: input a barecode Pin
Dave Kreskowiak24-Mar-04 0:18
mveDave Kreskowiak24-Mar-04 0:18 
GeneralRe: input a barecode Pin
tonaxxl25-Mar-04 17:25
tonaxxl25-Mar-04 17:25 
GeneralRe: input a barecode Pin
Dave Kreskowiak26-Mar-04 2:28
mveDave Kreskowiak26-Mar-04 2:28 
GeneralRe: input a barecode Pin
tonaxxl26-Mar-04 6:41
tonaxxl26-Mar-04 6:41 
GeneralRe: input a barecode Pin
Apusnaias23-Mar-04 23:27
Apusnaias23-Mar-04 23:27 
GeneralRe: input a barecode Pin
tonaxxl25-Mar-04 17:29
tonaxxl25-Mar-04 17:29 
GeneralRe: input a barecode Pin
cjengler24-Mar-04 0:25
cjengler24-Mar-04 0:25 

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.