|
-
May 13th, 2011, 08:20 AM
#1
Thread Starter
Lively Member
[RESOLVED] Trying to understand Shadowing Properties
I have created a new usercontrol. My usercontrol contains several other controls like labels, buttons and so on ...
When I set the Font property of the usercontrol I want that font property value to propagate down to the child controls.
Can I do this with the "Shadows" declaration?
Thanks,
David
 How much deeper would the ocean be if sponges didn't grow there? 
-
May 13th, 2011, 08:28 AM
#2
Re: Trying to understand Shadowing Properties
no... you would just have a Font property on your user control... which is sounds like you've got.
Now, in the set, you can loop through all child controls and set their font property with the new value...
-tg
-
May 13th, 2011, 09:06 AM
#3
Thread Starter
Lively Member
Re: Trying to understand Shadowing Properties
Thanks,
David
 How much deeper would the ocean be if sponges didn't grow there? 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|