private void layoutView1_CustomCardLayout(object sender, LayoutViewCustomCardLayoutEventArgs e) { LayoutView view = sender as LayoutView; if (e.RowHandle == view.FocusedRowHandle) { e.CardDifferences.AddItemDifference("Group1", LayoutItemDifferenceType.GroupExpanded, true); } }
private void availablePaymentsView_CustomCardLayout(object sender, LayoutViewCustomCardLayoutEventArgs e) { var payment = (PaymentInfo)availablePaymentsView.GetRow(e.RowHandle); e.CardDifferences.AddItemDifference(fieldWarning.Name, LayoutItemDifferenceType.ItemVisibility, !isJournalMode && payment.JournalInfo != null ); }
private void lvImages_CustomCardLayout(object sender, LayoutViewCustomCardLayoutEventArgs e) { }
private void availablePaymentsView_CustomCardLayout(object sender, LayoutViewCustomCardLayoutEventArgs e) { var payment = (PaymentInfo)availablePaymentsView.GetRow(e.RowHandle); e.CardDifferences.AddItemDifference(fieldWarning.Name, LayoutItemDifferenceType.ItemVisibility, !isJournalMode && payment.JournalInfo != null ); }