Override this in order to control how a child gets removed from the custom legend container.
public bool OnRemovingChildAtIndex(
Android.Views.ViewGroup ,
Android.Views.View ,
int ,
LegendSettings
)
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.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+