Version

OnAddingChild Method (CustomLegendContainer)

Override this in order to control how a child gets added and configured in the custom legend container.
Syntax
public bool OnAddingChild( 
   UIKit.UIView existingContainer,
   UIKit.UIView child,
   LegendSettings settings
)

Parameters

existingContainer
This gives a reference to the existing container you created.
child
The new child being added.
settings
This provides the current settings for the legend.

Return Value

True if the default behavior should be suppressed, false if the default behavior should execute.
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