wpf-devexpress-dot-xpf-dot-grid-dot-expressionconditionbase.md
Gets or sets the formatting settings applied to cells (or corresponding rows) whose values take part in conditional formatting. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public Format Format { get; set; }
Public Property Format As Format
| Type | Description |
|---|---|
| Format |
A Format object that provides formatting settings.
|
See the Specifying Formats section of the Conditional Formats topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Format property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-data-grid-disable-rows-based-on-their-values/CS/WpfApplication/MainWindow.xaml#L46
<dxg:FormatCondition Expression="![AllowEdit]">
<dxg:FormatCondition.Format>
<dx:Format Foreground="Gray" Background="LightGray"/>
See Also