WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IHTMLFormat - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IHTMLFormat

    Special formatting which is used by the renderer to show the HTML element to the user.

    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    public interface IHTMLFormat

    Properties

    BackgroundColor

    Gets or sets the background Color of the HTML Element.

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

    BackgroundImage

    Gets or sets the Background Image of the format.

    Declaration
    Bitmap BackgroundImage { get; set; }
    Property Value
    Type Description
    System.Drawing.Bitmap

    BackgroundImageRepeat

    Gets or sets the background repeat property of the format.

    Declaration
    RepeatStyle BackgroundImageRepeat { get; set; }
    Property Value
    Type Description
    RepeatStyle

    Bottom

    Gets the bottom border settings of the HTML Element.

    Declaration
    IBorder Bottom { get; }
    Property Value
    Type Description
    IBorder

    Cursor

    Gets or sets the cursor which must be used by the control on mouse enter into special HTML element.

    Declaration
    Cursor Cursor { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.Cursor

    Font

    Gets or sets the font which must be used for rendering the element of HTML.

    Declaration
    Font Font { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    ForeColor

    Gets or sets the fore color of the HTML element for rendering.

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

    FormatParent

    Gets the format which was inherited by this format.

    Declaration
    IHTMLFormat FormatParent { get; }
    Property Value
    Type Description
    IHTMLFormat

    Height

    Gets the height of the element block.

    Declaration
    int Height { get; }
    Property Value
    Type Description
    System.Int32

    HorizontalAlign

    Gets or sets the horizontal alignment of string in HTML element rectangle.

    Declaration
    StringAlignment HorizontalAlign { get; set; }
    Property Value
    Type Description
    System.Drawing.StringAlignment

    Index

    Gets the index of the format in the document.

    Declaration
    long Index { get; }
    Property Value
    Type Description
    System.Int64

    Left

    Gets the left border settings of the HTML Element.

    Declaration
    IBorder Left { get; }
    Property Value
    Type Description
    IBorder

    Name

    Gets or sets the unique name of the format ( mostly used for CSS styles declarations ).

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    System.String

    Padding

    Gets or sets the amount of space to insert between the left border of the object and the content.

    Declaration
    Rectangle Padding { get; set; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Right

    Gets the right border settings of the HTML Element.

    Declaration
    IBorder Right { get; }
    Property Value
    Type Description
    IBorder

    Top

    Gets the top border settings of the HTML Element.

    Declaration
    IBorder Top { get; }
    Property Value
    Type Description
    IBorder

    Type

    Gets the format type of the format.

    Declaration
    FormatType Type { get; }
    Property Value
    Type Description
    FormatType

    VerticalAlign

    Gets or sets the vertical Alignment of string if HTML element has one.

    Declaration
    StringAlignment VerticalAlign { get; set; }
    Property Value
    Type Description
    System.Drawing.StringAlignment

    Width

    Gets the width of the element block.

    Declaration
    int Width { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved