ganchito55
ganchito55

Reputation: 3607

Overwrite Xamarin default styles

By default, Xamarin implements some styles:

I know that I can define my own styles, overwrite the default style of a control, etc. However I can't achieve to overwrite the these styles.

Is it possible to overwrite them from the XAML? I am using Xamarin Forms and I would like to change it in the portable project.

Thanks for your help.

Upvotes: 0

Views: 441

Answers (1)

Demitrian
Demitrian

Reputation: 3230

The short answer is, that your request is currently not supported. As you can see from the Device.Styles class here, the Styles are declared as readonly which means you will currently not be able to change or override these ones specifically.

This means that you will have to, for now, implement your own interpretation of the built-in Styles.

Upvotes: 1

Related Questions