Aspose.Cells.GridWeb.Examples.CSharp.RowsAndColumns.RestrictContextMenu.btnRestrictContextMenu_Click C# (CSharp) Метод

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

protected btnRestrictContextMenu_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        protected void btnRestrictContextMenu_Click(object sender, EventArgs e)
        {
            // ExStart:RestrictContextMenu
            // Restricting column related operations in context menu
            GridWeb1.EnableClientColumnOperations = false;

            // Restricting row related operations in context menu
            GridWeb1.EnableClientRowOperations = false;

            // Restricting freeze option of context menu
            GridWeb1.EnableClientFreeze = false;
            // ExEnd:RestrictContextMenu
        }
    }