Hi, I want a button that changes the font size of a label. I have done the button, and have added the text as an outlet. Is there a method like Label.FontSize?
Firstly, add the outlet and action using the XCode Interface Builder:
And then we could change the size using NSFont:
partial void btnClick(AppKit.NSButton sender)
MyLabel.Font = NSFont.SystemFontOfSize(20);
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies