menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IBackgroundFormat - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IBackgroundFormat

    Provides the functionality for background settings.

    Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public interface IBackgroundFormat

    Properties

    BackColor

    Gets or sets the background color of snippet. If you want to draw rectangle over the snippet set Background Color.Empty value and Foreground property to needed rectangle border color. If both properties Background and Foreground set to not Empty value then for drawing used hatch brush according to BackStyle property value. If Foreground set to Color.Empty value then will be filled snippet rectangle by Background color.

    Declaration
    Color BackColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ForeColor

    Gets or sets the foreground color of snippet.

    Declaration
    Color ForeColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    HatchStyle

    Gets or sets the style of background brush. This property used only when Background and Foreground colors are not Empty.

    Declaration
    HatchStyle HatchStyle { get; set; }
    Property Value
    Type
    System.Drawing.Drawing2D.HatchStyle
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved