private void OnSelectedIndexChanged(NValueChangeEventArgs args)
        {
            NPaletteColorPicker colorPicker = (NPaletteColorPicker)args.TargetNode;
            NColor selectedColor            = colorPicker.SelectedColor;

            m_EventsLog.LogEvent(selectedColor.GetHEX().ToUpper());
        }
        protected override NWidget CreateExampleContent()
        {
            NStackPanel stack = new NStackPanel();

            m_PaletteColorPicker = new NPaletteColorPicker();
            m_PaletteColorPicker.HorizontalPlacement   = ENHorizontalPlacement.Left;
            m_PaletteColorPicker.VerticalPlacement     = ENVerticalPlacement.Top;
            m_PaletteColorPicker.SelectedIndexChanged += OnSelectedIndexChanged;
            stack.Add(m_PaletteColorPicker);

            return(stack);
        }