I want to clear the summeries values ar runtime.
allowrowsummeries and displaysummaryarea will stop showing them, but I also want to
delete summeries definitions from memory, so that if I decide to show again, the same summeries wont
show again.
Maybe this command is what you're looking for?
grid.DisplayLayout.Bands[0].Summaries.Clear();