Version

Legend Constructor(Context,IAttributeSet,Int32)

A constructor used to perform inflation from XML and apply a class-specific base style from a theme attribute
Syntax
public Legend( 
   Android.Content.Context context,
   Android.Util.IAttributeSet attrs,
   int defStyle
)

Parameters

context
The Context the view is running in, through which it can access the current theme, resources, etc.
attrs
The attributes of the XML tag that is inflating the view.
defStyle
An attribute in the current theme that contains a reference to the style resource that supplies default values for the view. Can be 0 to not look for defaults.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also