Version

ProvideContainer Method (CustomLegendContainer)

Override this in order to provide or update the container used to house the legend items.
Syntax
public abstract Android.Views.ViewGroup ProvideContainer( 
   Android.Views.ViewGroup existingContainer,
   LegendSettings settings
)

Parameters

existingContainer
this will either be the container you provided before, or null, meaning you need to create the containing ViewGroup
settings
this contains settings you may want to respect in the configuration of the containing ViewGroup.

Return Value

you should return the existing or newly created ViewGroup that will house the legend content.
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