Skip to content

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:

  1. create a MaterialTabControl on your material form
  2. select the MaterialTabControl you just created on the form's DrawerTabControl properties panel
  3. mess around with the others Drawer properties the get it looking the way you want
  4. add tabs to the MaterialTabControl, the form will pick them up and set them as items in the drawer

optional

  1. if you want icons, add a ImageList control, then load the desired icons there
  2. On the MaterialTabControl: Select the ImageList you just created on the ImageList properties panel then edit the TabPages property collection and select the icon for each page
  3. 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.
Clone this wiki locally