menu

WinForms

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

    Show / Hide Table of Contents

    Class HtmlTagsParser

    Inheritance
    System.Object
    HtmlTagsParser
    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)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
    Syntax
    public class HtmlTagsParser

    Constructors

    HtmlTagsParser()

    Declaration
    public HtmlTagsParser()

    Fields

    CssFont

    Declaration
    public const string CssFont = "(([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%|xx-small|x-small|small|medium|large|x-large|xx-large|larger|smaller)(\\/(normal|{[0-9]+|[0-9]*\\.[0-9]+}|([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%))?(\\s|$)"
    Field Value
    Type
    System.String

    CssProperties

    Declaration
    public const string CssProperties = ";?[^;\\s]*:[^\\{\\}:;]*(\\}|;)?"
    Field Value
    Type
    System.String

    CssPropertyBox

    Declaration
    public const string CssPropertyBox = "[^\\{\\}]*\\{[^\\{\\}]*\\}"
    Field Value
    Type
    System.String

    FontStyle

    Declaration
    public const string FontStyle = "(normal|italic|oblique)"
    Field Value
    Type
    System.String

    FontVariant

    Declaration
    public const string FontVariant = "(normal|small-caps)"
    Field Value
    Type
    System.String

    FontWeight

    Declaration
    public const string FontWeight = "(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)"
    Field Value
    Type
    System.String

    HmlTagAttributes

    Declaration
    public const string HmlTagAttributes = "[^\\s]*\\s*=\\s*(\"[^\"]*\"|'[^']*'|[^\\s]*)"
    Field Value
    Type
    System.String

    HtmlTag

    Declaration
    public const string HtmlTag = "<[^<>]*>"
    Field Value
    Type
    System.String

    LineHeight

    Declaration
    public const string LineHeight = "(normal|{[0-9]+|[0-9]*\\.[0-9]+}|([0-9]+|[0-9]*\\.[0-9]+)(em|ex|px|in|cm|mm|pt|pc)|([0-9]+|[0-9]*\\.[0-9]+)\\%)"
    Field Value
    Type
    System.String

    WhiteSpaces

    Declaration
    public const string WhiteSpaces = "\\s{2,}"
    Field Value
    Type
    System.String

    Methods

    Match(String, String)

    Returns the matched collection

    Declaration
    public static MatchCollection Match(string regex, string source)
    Parameters
    Type Name Description
    System.String regex
    System.String source
    Returns
    Type
    System.Text.RegularExpressions.MatchCollection

    Search(String, String)

    Searches the specified regex on the source

    Declaration
    public static string Search(string regex, string source)
    Parameters
    Type Name Description
    System.String regex
    System.String source
    Returns
    Type
    System.String

    Search(String, String, out Int32)

    Searches the specified regex on the source

    Declaration
    public static string Search(string regex, string source, out int position)
    Parameters
    Type Name Description
    System.String regex
    System.String source
    System.Int32 position
    Returns
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved