Back to Devexpress

LightweightCellEditor.Background Property

wpf-devexpress-dot-xpf-dot-grid-dot-lightweightcelleditor-1a1edb2e.md

latest2.5 KB
Original Source

LightweightCellEditor.Background Property

Gets or sets the background color. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public Brush Background { get; set; }
vb
Public Property Background As Brush

Property Value

TypeDescription
Brush

A Color value representing the background color.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Background 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-grid-highlight-specific-cells/CS/MainWindow.xaml#L33

xml
</Style.Resources>
<Setter Property="Background">
    <Setter.Value>

wpf-grid-customize-appearance-of-specific-cells/CS/DXGrid_ConditionalFormatting/Window1.xaml#L12

xml
<Style x:Key="customCellStyle" BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=LightweightCellStyle}}" TargetType="{x:Type dxg:LightweightCellEditor}">
    <Setter Property="Background">
        <Setter.Value>

See Also

Foreground

LightweightCellEditor Class

LightweightCellEditor Members

DevExpress.Xpf.Grid Namespace