Fill Class
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDrawing.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDrawing.from the setup.dll
Description
The Drawing.Shape.Fill class determines the fill properties of a shape. The Fill class implements the System.ComponentModel.INotifyPropertyChanged interface.
Syntax
public class Shape.FillPublic Class Shape.FillExamples
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.
Console.WriteLine($"Color: {fill.Color}");
Console.WriteLine("Fill is ready for use.");Console.WriteLine($"Color: {fill.Color}")
Console.WriteLine("Fill is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Color | 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. |
Events
| Event | Description |
|---|---|
| PropertyChanged | Not described in the reference. public event PropertyChangedEventHandler PropertyChanged; |