FillColor Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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
public Color? FillColor { get; set; }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.
imageSourceSettings.FillColor = System.Windows.Media.Colors.CornflowerBlue;
if (imageSourceSettings.FillColor != null)
{
Console.WriteLine("Image Source Settings: Fill Color is available.");
}imageSourceSettings.FillColor = System.Windows.Media.Colors.CornflowerBlue
If imageSourceSettings.FillColor IsNot Nothing Then
Console.WriteLine("Image Source Settings: Fill Color is available.")
End IfLimitations
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.