void optionsConfigControl_NewUniqueValueCreated(object sender, NewUniqueValueInfoEventArgs e)
        {
            if (RendererSymbolSetContainerControl != null)
            {
                UniqueValueRendererSymbolsConfigControl symbolsConfigControl = RendererSymbolSetContainerControl.Content as UniqueValueRendererSymbolsConfigControl;
                if (symbolsConfigControl != null)
                {
                    FieldType fieldType = FieldType.Text;
                    GraphicsLayer graphicsLayer = Layer as GraphicsLayer;
                    if (graphicsLayer == null)
                        return;

                    UniqueValueRenderer uniqueValueRenderer = graphicsLayer.Renderer as UniqueValueRenderer;
                    if(uniqueValueRenderer == null)
                        return;

                    Collection<FieldInfo> fields = ESRI.ArcGIS.Mapping.Core.LayerExtensions.GetFields(graphicsLayer);
                    if (fields != null)
                    {
                        FieldInfo selectedField = fields.FirstOrDefault<FieldInfo>(f => f.Name == uniqueValueRenderer.Field);
                        if (selectedField != null)
                        {
                            fieldType = selectedField.FieldType;
                            symbolsConfigControl.AddNewUniqueValue(createNewUniqueValue(e.UniqueValue, fieldType), fieldType);
                            graphicsLayer.Refresh();
                        }
                    }                    
                }
            }
        }
 protected void OnNewUniqueValueClicked(NewUniqueValueInfoEventArgs args)
 {
     if (NewUniqueValueAdded != null)
         NewUniqueValueAdded(this, args);
 }