Reputation: 6163
I'm trying to reproduce this sample https://github.com/xamarin/xamarin-forms-samples/blob/master/WorkingWithFonts
Especially these lines of code:
var labelBoldItalic = new Label {
Text = "BoldItalic",
Font = Font.SystemFontOfSize (14, FontAttributes.Bold | FontAttributes.Italic),
VerticalOptions = LayoutOptions.CenterAndExpand,
HorizontalOptions = LayoutOptions.CenterAndExpand,
};
But VS 2013 says: The Name FontAttributes does not exist in the current context.
Xamarin Version:
Upvotes: 0
Views: 277
Reputation: 6163
Thank you Jason.
I solved via NUGET:
Get-Project -all | Install-Package Xamarin.Forms
Upvotes: 1