This example demonstrates how to use the ASPxCardView.CommandButtonInitialize event to customize command buttons (for instance, disable buttons in odd cards).
protected void ASPxCardView1_CommandButtonInitialize(object sender, ASPxCardViewCommandButtonEventArgs e) {
bool isOddRow = e.VisibleIndex % 2 == 0;
if(isOddRow) {
if(e.ButtonType == CardViewCommandButtonType.Edit)
e.Enabled = false;
if(e.ButtonType == CardViewCommandButtonType.New)
e.Enabled = false;
if(e.ButtonType == CardViewCommandButtonType.Delete)
e.Enabled = false;
}
}