M
Home
classes
M
About class
Main control class of the library.
Class content
| Assembly |
Minimal.dll |
| Namespace |
Minimal |
| Inheritance |
- |
| Attributes |
- |
| Implements |
- |
Constructors
| Name |
Description |
|
| M() |
Initializes a new instance of the M class. |
|
Properties
| Name |
Description |
Type |
| IMComponents |
List of all IMComponents. |
List<IMComponent> |
| Light |
Light theme |
Theme |
| Dark |
Dark theme |
Theme |
| ApplicationWideTheme |
Theme used through whole application |
Theme |
| ApplicationWideTheme |
Theme used when component’s parent form is not of MForm type. |
Theme |
| TouchEnabled |
True, if library should adapt for tablet experience. |
bool |
Fields
| Name |
Description |
Type |
| ButtonType |
Raised, Flat, Outline |
enum |
| LabelType |
Standard, Alternate, Accent |
enum |
| ClickEffect |
None, Ripple, Square, SquareRotate |
enum |
| ColorBoxType |
Rectangle, Circle |
enum |
Events
| Name |
Description |
Type |
| - |
- |
- |
Methods
| Name |
Description |
Returns |
| EnableMinimal() |
Enables Minimal library. Called inside Program.cs file right before Application.Run() call. |
- |
| LoadTheme(string path) |
Returns instantiated theme object from xml file at given path. |
Theme |
| SetTheme(MForm form, Theme theme) |
Sets given theme to the given MForm. |
- |
| SetAccent(Form form, Color accent) |
Sets given accent color to the given Form. |
- |
| GetWindowsActiveColor() |
Return currently set Windows 10 accent color. |
Color |