forked from donaldsteele/MaterialSkin
-
-
Notifications
You must be signed in to change notification settings - Fork 142
How to use the Drawer
Leo Bottaro edited this page Aug 7, 2020
·
3 revisions
The Drawer is added automatically to the form, you don't need to add it yourself
the steps are:
- create a
MaterialTabControlon your material form - select the
MaterialTabControlyou just created on the form'sDrawerTabControlproperties panel - mess around with the others Drawer properties the get it looking the way you want
- add tabs to the
MaterialTabControl, the form will pick them up and set them as items in the drawer
- if you want icons, add a
ImageListcontrol, then load the desired icons there - On the
MaterialTabControl: Select the ImageList you just created on theImageListproperties panel then edit theTabPagesproperty collection and select the icon for each page - as soon as these two property are configured, the drawer will pick the icons and give them some color treatment, this color change is not optional for now, but it will be in future releases.