Grouping properties (like Font does)

Tech-Archive recommends: Fix windows errors by optimizing your registry



Just a quick question, I hope.

I'm ending up with a lot of similar property names (because they all relate
to the same area of the control) eg CaptionText, CaptionTextColour,
CaptionBackground, CaptionHasGradient, CaptionGradientStart,
CaptionGradientEnd to name just a few.

I know properties like Font collect these 'sub-details' together into a
group (so you only see +Font in the properties until you click on the + and
see all the Bold, Italic, FontName, etc).

I know how to put properties into the Categories, like Appearance, but how
do I gather linked properties together as Font does? For example, it would
make sense to just have '+CaptionBackground', and within that have the
colours, gradient choice, etc.

Thanks in advance for your assistance,

Ann-Marie


.



Relevant Pages

  • Re: Grouping properties (like Font does)
    ... 'subproperties' instead of 'grouping properties'). ... > to the same area of the control) eg CaptionText, CaptionTextColour, ... > do I gather linked properties together as Font does? ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: CSS and

      ... >> How do I control the font, size, color etc. for the numbers in an ordered ... thats what my example did. ... Prev by Date: ...
      (alt.html)
    1. Re: Is there a way to set default font in all child controls?
      ... >I know I can obtain default GUI font and assign it to each control but I ... Prev by Date: ...
      (microsoft.public.vc.mfc)
    2. Re: CSS and

        ... > How do I control the font, size, color etc. for the numbers in an ordered ... but thats not supported by prehistoric IE ... Prev by Date: ...
        (alt.html)
      1. Re: Autosize
        ... Change the form's font properties to match the CheckBox or OptionBox; ... depending on which control (obviously, change the control name to the ... Rick - MVP ... Prev by Date: ...
        (microsoft.public.vb.controls)