w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How can i change the control text size also in real time not only the control size?

What kind of Control do you have?

Have you already seen this?: How to select certain string in c# button and change font?

It's kind of solution for a Button.

But if you have a personalized control, with a label, i think you could solve it with overriding the Control's OnPaint method with something like:

yourcontrol.label.Font = new
Font(YourFontFamily,YourSize,YourFontStyle);




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.