I am creating my own component, which is like TabControl.
I created my own collecation class (PageCollection) and added the property of this type to component class.
I also added additional properties, ActivePage and ActivePageIndex.
Everything goes OK, but the order of statements of code inserted by designer is not what I really need.
Code is generated in the following order:
ActivePage, ActivePageIndex, ..., Pages

But actually it must be as follows:
Pages, ActivePage, ActivePageIndex

The properties in InitializeComponent function appears in alphabetical order, how to override that order???