Click or drag to resize
Block Class
Represents block of flowing content.
Inheritance Hierarchy

Namespace: Telerik.Windows.Documents.Fixed.Model.Editing
Assembly: Telerik.Windows.Documents.Fixed (in Telerik.Windows.Documents.Fixed.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public class Block : FixedContentEditorBase, IBlockElement

The Block type exposes the following members.

Constructors
  NameDescription
Public methodBlock
Initializes a new instance of the Block class.
Public methodBlock(Block)
Initializes a new instance of the Block class.
Top
Methods
  NameDescription
Public methodClear
Clears the block children.
Public methodDraw
Draws the block element with the specified editor.
Public methodInsert(LayoutElementBase)
Inserts the specified layout element.
Public methodInsert(PositionContentElement)
Inserts the specified element.
Public methodInsertCircle
Inserts a circle.
Public methodInsertEllipse
Inserts an ellipse.
Public methodInsertForm(FormSource)
Inserts a form.
Public methodInsertForm(FormSource, Size)
Inserts a form.
Public methodInsertForm(FormSource, Double, Double)
Inserts a form.
Public methodInsertHyperlinkEnd
Inserts hyperlink end.
Public methodInsertHyperlinkStart(Uri)
Inserts hyperlink start.
Public methodInsertHyperlinkStart(Destination)
Inserts hyperlink start.
Public methodInsertImage(Stream)
Inserts an image.
Public methodInsertImage(ImageSource)
Inserts an image.
Public methodInsertImage(Stream, Size)
Inserts an image.
Public methodInsertImage(ImageSource, Size)
Inserts an image.
Public methodInsertImage(Stream, Double, Double)
Inserts an image.
Public methodInsertImage(ImageSource, Double, Double)
Inserts an image.
Public methodInsertLine
Inserts a line.
Public methodInsertLineBreak
Inserts a line break.
Public methodInsertPath
Inserts a path.
Public methodInsertRange
Inserts the specified layout elements.
Public methodInsertRectangle
Inserts a rectangle.
Public methodInsertTab
Inserts the tab.
Public methodInsertText(String)
Inserts the text.
Public methodInsertText(FontFamily, String)
Inserts the text using the given font family.
Public methodInsertText(FontFamily, FontStyle, FontWeight, String)
Inserts the text using the given font family, font style and font weight.
Public methodMeasure
Measures the block in the infinite size.
Public methodMeasure(Size)
Measures the block element with specified available size.
Public methodRestoreGraphicProperties
Restores the graphic properties.
(Inherited from FixedContentEditorBase.)
Public methodRestoreProperties
Restores text and graphic properties.
(Inherited from FixedContentEditorBase.)
Public methodRestoreTextProperties
Restores the text properties.
(Inherited from FixedContentEditorBase.)
Public methodSaveGraphicProperties
Saves the graphic properties.
(Inherited from FixedContentEditorBase.)
Public methodSaveProperties
Saves text and graphic properties.
(Inherited from FixedContentEditorBase.)
Public methodSaveTextProperties
Saves the text properties.
(Inherited from FixedContentEditorBase.)
Public methodSetBullet
Sets the bullet from the corresponding list and list level.
Public methodSplit
Splits this instance.
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Properties
  NameDescription
Public propertyActualSize
Gets the actual size of the block after it is drawn.
Public propertyBackgroundColor
Gets or sets the background color.
Public propertyBullet
Gets or sets the bullet element.
Public propertyDesiredSize
Gets the desired size.
Public propertyFirstLineIndent
Gets or sets the first line indent.
Public propertyGraphicProperties
Gets the graphic state that is responsible for the graphics properties in the fixed content.
(Inherited from FixedContentEditorBase.)
Public propertyHasPendingContent
Gets if there is any pending content after the last measure.
Public propertyHorizontalAlignment
Gets or sets the horizontal alignment.
Public propertyIndentAfterBullet
Gets or sets the indent after the bullet element.
Public propertyIsEmpty
Indicates if the block contains any elements.
Public propertyLeftIndent
Gets or sets the left indent.
Public propertyLineSpacing
Gets or sets the line spacing.
Public propertyLineSpacingType
Gets or sets the value indicating how the spacing between lines is calculated.
Public propertyPendingElements
Gets the pending elements.
Public propertyRightIndent
Gets or sets the right indent.
Public propertySpacingAfter
Gets or sets the spacing after.
Public propertySpacingBefore
Gets or sets the spacing before.
Public propertyTextProperties
Gets the text state that is responsible for the text properties in the fixed content.
(Inherited from FixedContentEditorBase.)
Public propertyVerticalAlignment
Gets or sets the vertical alignment.
Top
See Also