# Shape.Fill Class

> The Drawing.Shape.Fill class determines the fill properties of a shape. The Fill class implements the System.ComponentModel.INotifyPropertyChanged interface.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Drawing`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDrawing.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDrawing.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Drawing > Shape.Fill Class
- **427 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-fill/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-fill/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-fill/llms-full.txt

---

### Description

The Drawing.Shape.Fill class determines the fill properties of a [shape](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/llms-full.txt). The Fill class implements the `System.ComponentModel.INotifyPropertyChanged` interface.

### Syntax

```csharp
public class Shape.Fill
```

```vbnet
Public Class Shape.Fill
```

### Examples

The following example includes the color value from a Fill object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Color: {fill.Color}");
Console.WriteLine("Fill is ready for use.");
```

```vbnet
Console.WriteLine($"Color: {fill.Color}")
Console.WriteLine("Fill is ready for use.")
```

---

## In This Section

- [Shape.Fill.Color Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-fill/color-property/llms-full.txt): Gets or sets the shape's fill color. The default value is a structure of type Systen.Drawing.Color with the values A=255, R=91, G=155 and B=213.

---

## Nearby

- **Previous:** [Shape Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape/constructor/llms-full.txt)
- **Next:** [Shape.Fill.Color Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/shape-fill/color-property/llms-full.txt)
