Adding custom runtime attributes?

Is there a way to add custom runtime attributes to a button in the Xamarin storyboard designer?

I am trying to get Pixate Freestyle to work and need to define attributes. I can find a place to define them in xcode.

+4
source share
1 answer

I was working on a Xamarin Forms project, and I realized that on every platform there is a way to update the style for the control. The way I did it looks something like this:

PixateFreestyle.SetStyleId(view, styleId);

or

PixateFreestyle.SetClassId(view, classId);

If the view has any UIView that you want to create, styleId / classId is the line with the style name in default.css

, .

XamarinForms-PixateFreestyle

0

All Articles