Version

OnRemovingChildAtIndex Method (CustomLegendContainer)

Override this in order to control how a child gets removed from the custom legend container.
Syntax
public bool OnRemovingChildAtIndex( 
   UIKit.UIView existingContainer,
   UIKit.UIView child,
   int index,
   LegendSettings settings
)

Parameters

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