I want to make the label font size to be a little big bigger. Based on my research, all I have to do is use ROBOTO_REGULAR_12, but I get this error:

'MaterialSkinManager' does not contain a definition for 'ROBOTO_REGULAR_11' and no accessible extension method 'ROBOTO_REGULAR_11' accepting a first argument of type 'MaterialSkinManager' could be found (are you missing a using directive or an assembly reference?)

This is my code:

using MaterialSkin; using MaterialSkin.Controls; materialSkinManager.ROBOTO_REGULAR_11 = new Font("Arial", 12f, FontStyle.Regular); materialSkinManager.ROBOTO_MEDIUM_12 = new Font("Arial", 14f, FontStyle.Bold); materialSkinManager.ROBOTO_MEDIUM_11 = new Font("Arial", 12f, FontStyle.Regular); materialSkinManager.ROBOTO_MEDIUM_10 = new Font("Arial", 10f, FontStyle.Bold);

marc_s's user avatar

marc_s

761k186 gold badges1.4k silver badges1.5k bronze badges

Bigboss's user avatar

I assume you use WinForms-MaterialSkin or similar.
According to the MaterialSkinManager source I see here:

ROBOTO_MEDIUM_12, ROBOTO_REGULAR_11 etc. are not static members of MaterialSkinManager.
Therefore you need an object/instance of type MaterialSkinManager to access them.

It looks like MaterialSkinManager is a singleton and MaterialSkinManager.instance is the object/instance you should use:

//-----------------vvvvvvvvvv------------------- MaterialSkinManager.instance.ROBOTO_REGULAR_11 = ...

(same goes to ROBOTO_MEDIUM_12 etc.)

Note: in other versions the singleton might be spelled with a capital I (Instance).

wohlstad's user avatar

3 Comments

I tried it. MaterialSkingManager.Instance.RO... But the thing is there really is no any ROBOTO_REGULAR in the options.

2026-04-13T06:00:01.79Z+00:00

This must be a version issue. In the version I linked these members exist.

2026-04-13T06:02:19.18Z+00:00

Im using MaterialSkin2 v2.3.1 by leocb, IgnaceMaes, orapps44

2026-04-13T06:07:19.5Z+00:00

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.