forked from donaldsteele/MaterialSkin
-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
MaterialTabControl
on your material form - select the
MaterialTabControl
you just created on the form'sDrawerTabControl
properties 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
ImageList
control, then load the desired icons there - On the
MaterialTabControl
: Select the ImageList you just created on theImageList
properties panel then edit theTabPages
property 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.