skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class FormattingSymbolLayoutBox

Represents a layout box that contains formatting symbols within a document.

Inheritance
System.Object
LayoutElement
LayoutBox
InlineLayoutBox
SpanLayoutBox
FormattingSymbolLayoutBox
Inherited Members
SpanLayoutBox.CreateLayoutElement()
SpanLayoutBox.OnPropertyChanged(String)
SpanLayoutBox.ToString()
SpanLayoutBox.OnAssociateDocumentElementChanged()
SpanLayoutBox.CreateSpanLayoutBox(DocumentElement, DocumentStructureCollection, String)
SpanLayoutBox.IsWordStart()
SpanLayoutBox.MeasureOverride(SizeF)
SpanLayoutBox.MergeWithNext(LayoutBox)
SpanLayoutBox.ContainsFormattingSymbol(String)
SpanLayoutBox.CreateNewFragment(Single, Boolean)
SpanLayoutBox.SplitSpanByIndex(Int32, Boolean)
SpanLayoutBox.Update(String)
SpanLayoutBox.InvalidateTextMeasure()
SpanLayoutBox.GetPositionHandler()
SpanLayoutBox.IsDecimal
SpanLayoutBox.IsContainerBox
SpanLayoutBox.CanCreateLayoutBoxesFromContent
SpanLayoutBox.DesiredTextSize
SpanLayoutBox.AssociatedSpan
SpanLayoutBox.IsParagraphSymbol
SpanLayoutBox.BaselineOffset
SpanLayoutBox.PropertyChanged
InlineLayoutBox.Remove()
InlineLayoutBox.LineInfo
InlineLayoutBox.LineSegmentInfo
InlineLayoutBox.IsRtl
InlineLayoutBox.AssociatedInline
InlineLayoutBox.IsStartOfLineSegment
LayoutBox.currentY
LayoutBox.AssociatedLayoutBoxProperty
LayoutBox.Node
LayoutBox.GetAssociatedLayoutBox(UIElement)
LayoutBox.SetAssociatedLayoutBox(UIElement, LayoutBox)
LayoutBox.OnElementStructureChanging()
LayoutBox.OnElementStructureChanged()
LayoutBox.CreateChildrenCollection(DocumentStructureCollection)
LayoutBox.InvalidateMeasureUpToTheRoot()
LayoutBox.InvalidateMeasureUpToTheRootStable()
LayoutBox.InvalidateArrangeUpToTheRoot()
LayoutBox.InvalidateLayoutAfterEdit()
LayoutBox.ValidateChild(LayoutBox)
LayoutBox.GetRootDocument()
LayoutBox.CanGrowVerticallyOverride(Single)
LayoutBox.CanGrowVertically(Single)
LayoutBox.GetBoxDesiredGrow()
LayoutBox.CreateNewFragment(LayoutBox)
LayoutBox.InvalidateMeasure()
LayoutBox.IsRemoved
LayoutBox.IsFragment
LayoutBox.AssociatedDocumentElement
LayoutBox.ChildLayoutBoxes
LayoutBox.BoundsChildBoxes
LayoutBox.IsFirstBox
LayoutBox.IsLastBox
LayoutBox.IsFirstChild
LayoutBox.IsLastChild
LayoutBox.IsValidPosition
LayoutBox.Parent
LayoutBox.ChildIndex
LayoutBox.BoundingRectangle
LayoutBox.ElementStructureChanging
LayoutBox.ElementStructureChanged
LayoutElement.EnsureChildrenCreated()
LayoutElement.CreateChildren()
LayoutElement.OnBitStateChanged(DocumentElementStates, Boolean, Boolean)
LayoutElement.SetBitState(DocumentElementStates, Boolean)
LayoutElement.ValidateParent(LayoutElement)
LayoutElement.SetParent(LayoutElement, LayoutElement)
LayoutElement.SetParentCore(LayoutElement)
LayoutElement.IsInValidState(Boolean)
LayoutElement.OnInvalidateMeasure()
LayoutElement.InvalidateMeasure(Boolean)
LayoutElement.InvalidateArrange()
LayoutElement.OnInvalidateArrange()
LayoutElement.InvalidateArrange(Boolean)
LayoutElement.Arrange(RectangleF)
LayoutElement.ArrangeCore(RectangleF)
LayoutElement.ArrangeOverride(SizeF)
LayoutElement.Measure(SizeF)
LayoutElement.MeasureCore(SizeF)
LayoutElement.OnChildDesiredSizeChanged(LayoutElement)
LayoutElement.OnParentChanging()
LayoutElement.OnParentChanged()
LayoutElement.LayoutOffset
LayoutElement.IsTopContainer
LayoutElement.LocalBoundingRectangle
LayoutElement.ControlBoundingRectangle
LayoutElement.ClippedControlBoundingRectangle
LayoutElement.TotalTransform
LayoutElement.Children
LayoutElement.BitState
LayoutElement.DesiredSize
LayoutElement.IsMeasureInProgress
LayoutElement.BypassLayoutPolicies
LayoutElement.MeasureWithoutParentNotification
LayoutElement.Size
LayoutElement.IsArrangeValid
LayoutElement.IsMeasureValid
LayoutElement.TreeLevel
LayoutElement.PreviousArrangeRect
LayoutElement.Alignment
LayoutElement.AutoSize
LayoutElement.Transform
LayoutElement.ParentChanging
LayoutElement.ParentChanged
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class FormattingSymbolLayoutBox : SpanLayoutBox, INotifyPropertyChanged

Constructors

FormattingSymbolLayoutBox(DocumentElement, DocumentStructureCollection, FormattingSymbols)

Declaration
public FormattingSymbolLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, FormattingSymbols symbol)
Parameters
DocumentElement associatedDocumentElement

DocumentStructureCollection collection

FormattingSymbols symbol

Fields

END_OF_CELL_SYMBOL_VISUAL

Declaration
public static readonly string END_OF_CELL_SYMBOL_VISUAL
Field Value
System.String

ENTER

Declaration
public static readonly string ENTER
Field Value
System.String

ENTER_SYMBOL_VISUAL

Declaration
public static readonly string ENTER_SYMBOL_VISUAL
Field Value
System.String

LINE_BREAK

Declaration
public static readonly string LINE_BREAK
Field Value
System.String

LINE_BREAK_VISUAL

Declaration
public static readonly string LINE_BREAK_VISUAL
Field Value
System.String

NON_BREAKING_SPACE_SYMBOL_VISUAL

Declaration
public static readonly string NON_BREAKING_SPACE_SYMBOL_VISUAL
Field Value
System.String

PAGE_BREAK

Declaration
public static readonly string PAGE_BREAK
Field Value
System.String

PAGE_BREAK_VISUAL

Declaration
public static readonly string PAGE_BREAK_VISUAL
Field Value
System.String

SPACE

Declaration
public static readonly string SPACE
Field Value
System.String

SPACE_SYMBOL_VISUAL

Declaration
public static readonly string SPACE_SYMBOL_VISUAL
Field Value
System.String

TAB

Declaration
public static readonly string TAB
Field Value
System.String

TAB_SYMBOL_VISUAL

Declaration
public static readonly string TAB_SYMBOL_VISUAL
Field Value
System.String

Properties

FormattingSymbol

Represents the layout box for a formatting symbol in the Telerik Windows Documents layout system.

Declaration
public FormattingSymbols FormattingSymbol { get; }
Property Value
FormattingSymbols

HasVisualRepresentation

Determines whether the formatting symbol has a visual representation.

Declaration
public override bool HasVisualRepresentation { get; }
Property Value
System.Boolean

Returns true if the formatting symbol is visually represented; otherwise, false.

Overrides
LayoutBox.HasVisualRepresentation

HasWidthAtTheEndOfLine

Determines whether the formatting symbol has a width at the end of the line.

Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
System.Boolean

Overrides
SpanLayoutBox.HasWidthAtTheEndOfLine

IsColumnBreak

Gets a value indicating whether the current layout box represents a column break.

Declaration
public bool IsColumnBreak { get; }
Property Value
System.Boolean

IsFormattingSymbol

Gets a value indicating whether the current instance represents a formatting symbol.

Declaration
public override bool IsFormattingSymbol { get; }
Property Value
System.Boolean

Overrides
LayoutBox.IsFormattingSymbol

IsLastOnLine

Gets a value indicating whether this formatting symbol is the last element on the line.

Declaration
public bool IsLastOnLine { get; }
Property Value
System.Boolean

IsLineBreak

Gets a value indicating whether the layout box represents a line break.

Declaration
public bool IsLineBreak { get; }
Property Value
System.Boolean

IsPageBreak

Gets a value indicating whether the layout box is a page break.

Declaration
public bool IsPageBreak { get; }
Property Value
System.Boolean

IsParagraphEnd

Gets a value indicating whether the layout box represents the end of a paragraph.

Declaration
public bool IsParagraphEnd { get; }
Property Value
System.Boolean

IsReadonly

Gets a value indicating whether the formatting symbol layout box is read-only.

Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean

Overrides
SpanLayoutBox.IsReadonly

IsSectionBreak

Gets a value indicating whether the layout box represents a section break.

Declaration
public bool IsSectionBreak { get; }
Property Value
System.Boolean

IsSpace

Gets a value indicating whether the formatting symbol represents a space character.

Declaration
public bool IsSpace { get; }
Property Value
System.Boolean

IsSplittable

Gets a value indicating whether the formatting symbol layout box can be split.

Declaration
public override bool IsSplittable { get; }
Property Value
System.Boolean

Overrides
SpanLayoutBox.IsSplittable

IsTab

Gets a value indicating whether the layout box represents a tab formatting symbol.

Declaration
public bool IsTab { get; }
Property Value
System.Boolean

True if the layout box is a tab formatting symbol; otherwise, false.

PositionsCountInBox

Gets the count of positions contained within the layout box.

Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32

Overrides
SpanLayoutBox.PositionsCountInBox

Text

Represents the text content of the FormattingSymbolLayoutBox.

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

Overrides
SpanLayoutBox.Text

Methods

CreateEnterSibling(SpanLayoutBox)

Creates a sibling formatting symbol layout box for the specified span layout box.

Declaration
public static FormattingSymbolLayoutBox CreateEnterSibling(SpanLayoutBox siblingSpan)
Parameters
SpanLayoutBox siblingSpan

The span layout box for which to create a sibling formatting symbol layout box.

Returns
FormattingSymbolLayoutBox

A new instance of FormattingSymbolLayoutBox that serves as a sibling to the provided span layout box.

CreateFormattingSymbolSibling(SpanLayoutBox, FormattingSymbols)

Creates a sibling formatting symbol layout box for the specified span layout box.

Declaration
public static FormattingSymbolLayoutBox CreateFormattingSymbolSibling(SpanLayoutBox siblingSpan, FormattingSymbols symbol)
Parameters
SpanLayoutBox siblingSpan

The span layout box to which the formatting symbol will be associated.

FormattingSymbols symbol

The formatting symbol to create a sibling layout box for.

Returns
FormattingSymbolLayoutBox

A new instance of the FormattingSymbolLayoutBox that acts as a sibling to the specified span layout box.

CreateSpaceSibling(SpanLayoutBox)

Creates a space sibling for the specified SpanLayoutBox instance.

Declaration
public static FormattingSymbolLayoutBox CreateSpaceSibling(SpanLayoutBox siblingSpan)
Parameters
SpanLayoutBox siblingSpan

The SpanLayoutBox for which the space sibling is to be created.

Returns
FormattingSymbolLayoutBox

Returns a new instance of FormattingSymbolLayoutBox representing the space sibling.

CreateTabSibling(SpanLayoutBox)

Creates a tab sibling for the specified SpanLayoutBox.

Declaration
public static FormattingSymbolLayoutBox CreateTabSibling(SpanLayoutBox siblingSpan)
Parameters
SpanLayoutBox siblingSpan

The SpanLayoutBox to create a tab sibling for.

Returns
FormattingSymbolLayoutBox

A new instance of FormattingSymbolLayoutBox that represents the tab sibling.

GetFormattingHashCode(Span)

Gets the formatting hash code for the specified span.

Declaration
public int GetFormattingHashCode(Span span)
Parameters
Span span

The span for which to calculate the formatting hash code.

Returns
System.Int32

Returns an integer representing the formatting hash code of the specified span.

MeasureTextOverride(SubStringPosition)

Declaration
protected override BoxMeasurementInfo MeasureTextOverride(SubStringPosition subStringPosition)
Parameters
Telerik.Windows.Documents.Core.TextMeasurer.SubStringPosition subStringPosition

Returns
BoxMeasurementInfo

Overrides
SpanLayoutBox.MeasureTextOverride(SubStringPosition)

Extension Methods

ExtensionMethods.GetCurrentSectionBox(LayoutBox)
CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.