# ResourceProvider.ImageSourceSettings.FillColor Property

> Specifies the fill color of editable scopes inside the related image. If the property value is null, the default fill color of the image scope is used. The default value is null.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 27.0
- **Namespace:** `TXTextControl.Windows.Forms`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms > ResourceProvider.ImageSourceSettings.FillColor Property
- **684 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/fillcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/fillcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/fillcolor-property/llms-full.txt

---

### Description

Specifies the fill color of editable scopes inside the related image. If the property value is null, the default fill color of the image scope is used. The default value is null.

### Syntax

```csharp
public Color? FillColor { get; set; }
```

```vbnet
Public Property FillColor As Color?
```

### Examples

The following example uses `ImageSourceSettings.FillColor` to configure fill color as part of the image source settings workflow. The configured value is checked before the workflow continues.

```csharp
imageSourceSettings.FillColor = System.Drawing.Color.LightSteelBlue;
if (imageSourceSettings.FillColor != null)
{
    Console.WriteLine("Image Source Settings: Fill Color is available.");
}
```

```vbnet
imageSourceSettings.FillColor = System.Drawing.Color.LightSteelBlue
If imageSourceSettings.FillColor IsNot Nothing Then
    Console.WriteLine("Image Source Settings: Fill Color is available.")
End If
```

### Limitations

This property only affects the color rectangle of images with the following identifiers:

`TXITEM_BackColor`, `TXITEM_TextFrameBackColor`, `TXITEM_DrawingBackColor`, `TXITEM_BarcodeBackColor`, `TXITEM_FrameLineColor`, `TXITEM_DrawingLineColor`, `TXITEM_BarcodeForeColor` and `TXITEM_PageColor` when using the ResourceProvider.GetLargeIcon method.

`TXITEM_BackColor`, `TXITEM_TableBackColor`, `TXITEM_TextFrameBackColor`, `TXITEM_DrawingBackColor`, `TXITEM_BarcodeBackColor`, `TXITEM_FrameLineColor`, `TXITEM_PageLineColor`, `TXITEM_TableLineColor`, `TXITEM_DrawingLineColor`, `TXITEM_BarcodeForeColor`, `TXITEM_PageColor`, `TXITEM_TextBackColor`, `TXITEM_XAxisLineColor`, `TXITEM_XAxisMajorGridlinesColor`, `TXITEM_XAxisMinorGridlinesColor`, `TXITEM_YAxisLineColor`, `TXITEM_YAxisMajorGridlinesColor`, `TXITEM_YAxisMinorGridlinesColor`, `TXITEM_TextColor`, `TXITEM_LegendColor`, `TXITEM_XAxisLabelsColor`, `TXITEM_YAxisLabelsColor`, `TXITEM_ChartTitleColor`, `TXITEM_XAxisTitleColor` and `TXITEM_YAxisTitleColor` when using the ResourceProvider.GetSmallIcon method.

---

## Nearby

- **Previous:** [ResourceProvider.ImageSourceSettings.Culture Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/culture-property/llms-full.txt)
- **Next:** [ResourceProvider.ImageSourceSettings.StrokeColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/resourceprovider-imagesourcesettings/strokecolor-property/llms-full.txt)
