WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RenderedLexem - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RenderedLexem

    Represents a class that contains Lexem, that can be used for rendering.

    Inheritance
    System.Object
    Lexem
    RenderedLexem
    Implements
    IXMLDataProvider
    IRenderedLexem
    ILexem
    Inherited Members
    Lexem.AppendToXML(XmlElement)
    Lexem.AppendToXML(XmlTextWriter)
    Lexem.Config
    Lexem.Text
    Lexem.Collapser
    Lexem.Length
    Lexem.Column
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Edit.Implementation.Parser
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class RenderedLexem : Lexem, IEditableLexem, IXMLDataProvider, IRenderedLexem, ILexem

    Constructors

    RenderedLexem(String, IConfigLexem)

    Initializes a new instance of the RenderedLexem class.

    Declaration
    public RenderedLexem(string text, IConfigLexem config)
    Parameters
    Type Name Description
    System.String text

    Text of the lexem.

    IConfigLexem config

    Config of the lexem.

    Properties

    IsPartOfCharWrap

    Get or set a value indicating whether the lexem is not independent, but is a part of lexem wrapped by char wrapping.

    Declaration
    public bool IsPartOfCharWrap { get; set; }
    Property Value
    Type Description
    System.Boolean

    SubLine

    Gets or sets zero-based index of the sub line, where lexem is drawn.

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

    Width

    Gets or sets width of the lexem.

    Declaration
    public float Width { get; set; }
    Property Value
    Type Description
    System.Single

    XOffset

    Gets or sets X offset of the lexem. Relative to the lexem's sub line.

    Declaration
    public float XOffset { get; set; }
    Property Value
    Type Description
    System.Single

    YOffset

    Gets or sets Y offset of the lexem.

    Declaration
    public float YOffset { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    Unite(RenderedLexem)

    Helps to unites two lexems (adds 'lexem' to current).

    Declaration
    public ILexem Unite(RenderedLexem lexem)
    Parameters
    Type Name Description
    RenderedLexem lexem

    Lexem that has to be added.

    Returns
    Type Description
    ILexem

    Result lexem.

    Implements

    IXMLDataProvider
    IRenderedLexem
    ILexem
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved