AvalonEdit
InlineObjectElement Class
NamespacesICSharpCode.AvalonEdit.RenderingInlineObjectElement
A inline UIElement in the document.
Declaration Syntax
C#Visual BasicVisual C++
public class InlineObjectElement : VisualLineElement
Public Class InlineObjectElement _
	Inherits VisualLineElement
public ref class InlineObjectElement : public VisualLineElement
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
InlineObjectElement(Int32, UIElement)
Creates a new InlineObjectElement.

BackgroundBrush
Gets/sets the brush used for the background of this VisualLineElement.
(Inherited from VisualLineElement.)
CanSplit
Gets if this VisualLineElement can be split.
(Inherited from VisualLineElement.)
CreateTextRun(Int32, ITextRunConstructionContext)
Creates the TextRun for this line element.
(Overrides VisualLineElement.CreateTextRun(Int32, ITextRunConstructionContext).)
DocumentLength
Gets the length of this element in the text document.
(Inherited from VisualLineElement.)
Element
Gets the inline element that is displayed.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNextCaretPosition(Int32, LogicalDirection, CaretPositioningMode)
Gets the next caret position inside this element.
(Inherited from VisualLineElement.)
GetPrecedingText(Int32, ITextRunConstructionContext)
Retrieves the text span immediately before the visual column.
(Inherited from VisualLineElement.)
GetRelativeOffset(Int32)
Gets the text offset of a visual column inside this element.
(Inherited from VisualLineElement.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
GetVisualColumn(Int32)
Gets the visual column of a text location inside this element. The text offset is given relative to the visual line start.
(Inherited from VisualLineElement.)
HandlesLineBorders
Gets whether the GetNextCaretPosition(Int32, LogicalDirection, CaretPositioningMode) implementation handles line borders. If this property returns false, the caller of GetNextCaretPosition should handle the line borders (i.e. place caret stops at the start and end of the line). This property has an effect only for VisualLineElements that are at the start or end of a VisualLine.
(Inherited from VisualLineElement.)
IsWhitespace(Int32)
Gets whether the specified offset in this element is considered whitespace.
(Inherited from VisualLineElement.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnMouseDown(MouseButtonEventArgs)
Allows the visual line element to handle a mouse event.
(Inherited from VisualLineElement.)
OnMouseUp(MouseButtonEventArgs)
Allows the visual line element to handle a mouse event.
(Inherited from VisualLineElement.)
OnQueryCursor(QueryCursorEventArgs)
Queries the cursor over the visual line element.
(Inherited from VisualLineElement.)
RelativeTextOffset
Gets the text offset where this element starts, relative to the start text offset of the visual line.
(Inherited from VisualLineElement.)
Split(Int32, IList<(Of <<'(VisualLineElement>)>>), Int32)
Splits the element.
(Inherited from VisualLineElement.)
SplitHelper(VisualLineElement, VisualLineElement, Int32, Int32)
Helper method for splitting this line element into two, correctly updating the VisualLength, DocumentLength, VisualColumn and RelativeTextOffset properties.
(Inherited from VisualLineElement.)
TextRunProperties
Gets the text run properties. A unique VisualLineElementTextRunProperties instance is used for each VisualLineElement; colorizing code may assume that modifying the VisualLineElementTextRunProperties will affect only this VisualLineElement.
(Inherited from VisualLineElement.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
VisualColumn
Gets the visual column where this element starts.
(Inherited from VisualLineElement.)
VisualLength
Gets the length of this element in visual columns.
(Inherited from VisualLineElement.)
Inheritance Hierarchy
Object
VisualLineElement
 InlineObjectElement

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238