menu

WinForms

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

    Show / Hide Table of Contents

    Class HtmlNode

    Represent the Paragraph Box

    Inheritance
    System.Object
    HtmlNode
    HtmlTextNode
    RootNode
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
    Syntax
    public class HtmlNode

    Constructors

    HtmlNode()

    Declaration
    public HtmlNode()

    HtmlNode(HtmlNode)

    Declaration
    public HtmlNode(HtmlNode parentbox)
    Parameters
    Type Name Description
    HtmlNode parentbox

    HtmlNode(HtmlNode, HTMLTagInfo)

    Declaration
    public HtmlNode(HtmlNode parent, HTMLTagInfo tagname)
    Parameters
    Type Name Description
    HtmlNode parent
    HTMLTagInfo tagname

    Properties

    ActualBackgroundColor

    Declaration
    public Color ActualBackgroundColor { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    ActualFontWeight

    Declaration
    public FontWeight ActualFontWeight { get; set; }
    Property Value
    Type
    System.Windows.FontWeight

    AfterSpacing

    Declaration
    [HTMLNotInheritable]
    [CssProperties("after-spacing")]
    [CssPropertyInherited]
    public double AfterSpacing { get; set; }
    Property Value
    Type
    System.Double

    Background

    Declaration
    [CssProperties("background")]
    public string Background { get; set; }
    Property Value
    Type
    System.String

    BackgroundColor

    It paints the background color for the ParagraphBox

    Declaration
    [CssProperties("background-color")]
    [CssPropertyInherited]
    public string BackgroundColor { get; set; }
    Property Value
    Type
    System.String

    BaseLine

    It defines the SubScript and SuperScript for the Text

    Declaration
    [HTMLNotInheritable]
    [CssProperties("baseline")]
    [CssPropertyInherited]
    public Baseline BaseLine { get; set; }
    Property Value
    Type
    Baseline

    BeforeSpacing

    Declaration
    [HTMLNotInheritable]
    [CssProperties("before-spacing")]
    [CssPropertyInherited]
    public double BeforeSpacing { get; set; }
    Property Value
    Type
    System.Double

    BorderThickness

    Declaration
    [CssProperties("BorderThickness")]
    public double BorderThickness { get; set; }
    Property Value
    Type
    System.Double

    ColGroupSpan

    Declaration
    [CssProperties("ColGroupSpan")]
    public int ColGroupSpan { get; set; }
    Property Value
    Type
    System.Int32

    Color

    String color determines the Foreground color for the Text

    Declaration
    [HTMLNotInheritable]
    [CssProperties("color")]
    [CssPropertyInherited]
    public string Color { get; set; }
    Property Value
    Type
    System.String

    ColumnSpan

    Declaration
    [CssProperties("ColumnSpan")]
    public int ColumnSpan { get; set; }
    Property Value
    Type
    System.Int32

    CssProperties

    Only CssPropertiesAttribute

    Declaration
    public static List<PropertyInfo> CssProperties { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<System.Reflection.PropertyInfo>

    Font

    Describes the font [ Fontweight,FontStyle,FontVariant] for the ParagraphBox

    Declaration
    [HTMLNotInheritable]
    [CssProperties("font")]
    [CssPropertyInherited]
    public string Font { get; set; }
    Property Value
    Type
    System.String

    FontFamily

    It decides the Text's FontFamily

    Declaration
    [HTMLNotInheritable]
    [CssProperties("font-family")]
    [CssPropertyInherited]
    public string FontFamily { get; set; }
    Property Value
    Type
    System.String

    FontSize

    It decides the FontSize of the Text

    Declaration
    [HTMLNotInheritable]
    [CssProperties("font-size")]
    [CssPropertyInherited]
    public string FontSize { get; set; }
    Property Value
    Type
    System.String

    FontSyle

    It decides the FontStyle of the Text.

    Declaration
    [HTMLNotInheritable]
    [CssProperties("font-style")]
    [CssPropertyInherited]
    public string FontSyle { get; set; }
    Property Value
    Type
    System.String

    FontVariant

    It decides the FontVariant of the Text.

    Declaration
    [CssProperties("font-variant")]
    [CssPropertyInherited]
    public string FontVariant { get; set; }
    Property Value
    Type
    System.String

    FontWeight

    FontWeight for the Text

    Declaration
    [HTMLNotInheritable]
    [CssProperties("font-weight")]
    [CssPropertyInherited]
    public string FontWeight { get; set; }
    Property Value
    Type
    System.String

    Foreground

    It paints the forground color for the Text which inside the ParagraphBox

    Declaration
    [CssProperties("foreground")]
    [CssPropertyInherited]
    public Color Foreground { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    HTMLTag

    It stores the corresponding HTML tag information

    Declaration
    public HTMLTagInfo HTMLTag { get; set; }
    Property Value
    Type
    HTMLTagInfo

    Hyperlink

    It decides whether ParagraphBox is HyperlinkAdv

    Declaration
    [HTMLNotInheritable]
    [CssProperties("hyperlink")]
    [CssPropertyInherited]
    public HyperlinkAdv Hyperlink { get; set; }
    Property Value
    Type
    HyperlinkAdv

    HyperLinkColor

    Declaration
    [HTMLNotInheritable]
    [CssProperties("hyperlinkcolor")]
    [CssPropertyInherited]
    public Color HyperLinkColor { get; set; }
    Property Value
    Type
    System.Windows.Media.Color

    Image

    It decides whether the ParagraphBox is ImageContainerAdv

    Declaration
    public ImageContainerAdv Image { get; set; }
    Property Value
    Type
    ImageContainerAdv

    ImageHeight

    It decides the Height of the Image

    Declaration
    public double ImageHeight { get; set; }
    Property Value
    Type
    System.Double

    ImageWidth

    It decides the Width of the Image

    Declaration
    public double ImageWidth { get; set; }
    Property Value
    Type
    System.Double

    Index

    Declaration
    public int Index { get; set; }
    Property Value
    Type
    System.Int32

    InheritableProperties

    It collects the properties which are inheritable in the HTML architecture

    Declaration
    public static List<PropertyInfo> InheritableProperties { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<System.Reflection.PropertyInfo>

    LeftIndent

    Declaration
    [HTMLNotInheritable]
    [CssProperties("left-indent")]
    [CssPropertyInherited]
    public double LeftIndent { get; set; }
    Property Value
    Type
    System.Double

    ListType

    Declaration
    [CssProperties("listType")]
    [CssPropertyInherited]
    [HTMLNotInheritable]
    public ListType ListType { get; set; }
    Property Value
    Type
    ListType

    NextNode

    Declaration
    public HtmlNode NextNode { get; set; }
    Property Value
    Type
    HtmlNode

    Nodes

    ParagraphBoxes collection for every instance

    Declaration
    public List<HtmlNode> Nodes { get; set; }
    Property Value
    Type
    System.Collections.Generic.List<HtmlNode>

    ParentNode

    Parent for the ParagraphBox

    Declaration
    public HtmlNode ParentNode { get; set; }
    Property Value
    Type
    HtmlNode

    PreviousNode

    Declaration
    public HtmlNode PreviousNode { get; set; }
    Property Value
    Type
    HtmlNode

    Properties

    All the properties of ParagraphBox

    Declaration
    public static Dictionary<string, PropertyInfo> Properties { get; set; }
    Property Value
    Type
    System.Collections.Generic.Dictionary<System.String, System.Reflection.PropertyInfo>

    RightIndent

    Declaration
    [HTMLNotInheritable]
    [CssProperties("right-indent")]
    [CssPropertyInherited]
    public double RightIndent { get; set; }
    Property Value
    Type
    System.Double

    RowSpan

    Declaration
    [CssProperties("RowSpan")]
    public int RowSpan { get; set; }
    Property Value
    Type
    System.Int32

    StrikeThrough

    Declaration
    [CssProperties("strike-through")]
    public StrikeThrough StrikeThrough { get; set; }
    Property Value
    Type
    StrikeThrough

    Text

    Defines the Tex which inside the tags ex: I am bold

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    TextAlign

    Describes the TextAlignment of the Paragraph

    Declaration
    [HTMLNotInheritable]
    [CssProperties("text-align")]
    [CssPropertyInherited]
    public string TextAlign { get; set; }
    Property Value
    Type
    System.String

    TextDecoration

    Declaration
    [CssProperties("text-decoration")]
    public string TextDecoration { get; set; }
    Property Value
    Type
    System.String

    Underline

    Whether the Text should be underlined.

    Declaration
    [HTMLNotInheritable]
    [CssProperties("underline")]
    [CssPropertyInherited]
    public bool Underline { get; set; }
    Property Value
    Type
    System.Boolean

    WhiteSpace

    Declaration
    [CssProperties("white-space")]
    [CssPropertyInherited]
    public string WhiteSpace { get; set; }
    Property Value
    Type
    System.String

    Methods

    StringToFontWeight(String)

    Declaration
    public FontWeight StringToFontWeight(string fontweight)
    Parameters
    Type Name Description
    System.String fontweight
    Returns
    Type
    System.Windows.FontWeight

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type
    System.String
    Overrides
    System.Object.ToString()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved