Aspose.Cells.GridWeb.Examples.CSharp.GridWebBasics.DisplayCellEditBox.CheckBox1_CheckedChanged C# (CSharp) Метод

CheckBox1_CheckedChanged() защищенный Метод

protected CheckBox1_CheckedChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
Результат void
        protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
        {
            if (CheckBox1.Checked)
            {
                // ExStart:DisplayCellEditBox
                // Making the Edit Box (toolbar) visible for the GridWeb control
                GridWeb1.ShowCellEditBox = true;
                // ExEnd:DisplayCellEditBox
            }
            else
            {
                // Hide the Edit Box (toolbar) for the GridWeb control
                GridWeb1.ShowCellEditBox = false;
            }      
        }