AIEditor.Gui.GuiData.CreateColorPropertyGrid C# (CSharp) Method

CreateColorPropertyGrid() private static method

private static CreateColorPropertyGrid ( Window callingWindow ) : void
callingWindow FlatRedBall.Gui.Window
return void
        private static void CreateColorPropertyGrid(Window callingWindow)
        {
            ((PropertyGrid<Color>)callingWindow).ExcludeAllMembers();

            ((PropertyGrid<Color>)callingWindow).IncludeMember("A");

            ((PropertyGrid<Color>)callingWindow).IncludeMember("R");

            ((PropertyGrid<Color>)callingWindow).IncludeMember("G");

            ((PropertyGrid<Color>)callingWindow).IncludeMember("B");

            callingWindow.Y = 40;


        }