To reproduce:
- Remove and dispose a strip at runtime:
private void BRemoveItems_Click(object sender, EventArgs e)
{
if (this.commandBarRowElement1.Strips.Count > 1)
{
if (this.commandBarRowElement1.Strips[1] is MyRadStripElement)
{
MyRadStripElement stripForRemoval = (MyRadStripElement)this.commandBarRowElement1.Strips[1];
this.commandBarRowElement1.Strips.Remove(stripForRemoval);
stripForRemoval.Dispose();
}
}
}
Workaround: dispose the item before remove it.