How to: Change a Modified Cell Appearance

  • 5 minutes to read

This example demonstrates how to animate transitions when conditional formatting is changed.

Set the TableView.AnimateConditionalFormattingTransition property to true to enable animation effects. See the Conditional Formatting Animation section of the Conditional Formats topic to learn more.

The image below shows the result.


View Example

using System.Collections.Generic;
using System.Windows;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Markup;
using System.Windows.Media;
using System.ComponentModel;
using System;
using DevExpress.Xpf.Grid;
using System.Windows.Controls;

namespace DXGrid_ConditionalFormatting {
    public partial class Window1 : Window {
        public Window1() {