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 |
---|
System.Drawing.Color |
BackgroundImage
Gets or sets the Background Image of the format.
Declaration
Bitmap BackgroundImage { get; set; }
Property Value
Type |
---|
System.Drawing.Bitmap |
BackgroundImageRepeat
Gets or sets the background repeat property of the format.
Declaration
RepeatStyle BackgroundImageRepeat { get; set; }
Property Value
Type |
---|
RepeatStyle |
Bottom
Gets the bottom border settings of the HTML Element.
Declaration
IBorder Bottom { get; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Drawing.Font |
ForeColor
Gets or sets the fore color of the HTML element for rendering.
Declaration
Color ForeColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
FormatParent
Gets the format which was inherited by this format.
Declaration
IHTMLFormat FormatParent { get; }
Property Value
Type |
---|
IHTMLFormat |
Height
Gets the height of the element block.
Declaration
int Height { get; }
Property Value
Type |
---|
System.Int32 |
HorizontalAlign
Gets or sets the horizontal alignment of string in HTML element rectangle.
Declaration
StringAlignment HorizontalAlign { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
Index
Gets the index of the format in the document.
Declaration
long Index { get; }
Property Value
Type |
---|
System.Int64 |
Left
Gets the left border settings of the HTML Element.
Declaration
IBorder Left { get; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Drawing.Rectangle |
Right
Gets the right border settings of the HTML Element.
Declaration
IBorder Right { get; }
Property Value
Type |
---|
IBorder |
Top
Gets the top border settings of the HTML Element.
Declaration
IBorder Top { get; }
Property Value
Type |
---|
IBorder |
Type
Gets the format type of the format.
Declaration
FormatType Type { get; }
Property Value
Type |
---|
FormatType |
VerticalAlign
Gets or sets the vertical Alignment of string if HTML element has one.
Declaration
StringAlignment VerticalAlign { get; set; }
Property Value
Type |
---|
System.Drawing.StringAlignment |
Width
Gets the width of the element block.
Declaration
int Width { get; }
Property Value
Type |
---|
System.Int32 |