Version

OnRemovingChild Method (CustomLegendContainer)

Override this in order to control how a child gets removed from the custom legend container.
Syntax
public bool OnRemovingChild( 
   Android.Views.ViewGroup existingContainer,
   Android.Views.View child,
   LegendSettings settings
)

Parameters

existingContainer
This gives a reference to the existing container you created.
child
The child being removed.
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