AvalonEdit
VisualLineElementTextRunProperties Class
NamespacesICSharpCode.AvalonEdit.RenderingVisualLineElementTextRunProperties
TextRunProperties implementation that allows changing the properties. A VisualLineElementTextRunProperties instance usually is assigned to a single VisualLineElement.
Declaration Syntax
C#Visual BasicVisual C++
public class VisualLineElementTextRunProperties : TextRunProperties, 
	ICloneable
Public Class VisualLineElementTextRunProperties _
	Inherits TextRunProperties _
	Implements ICloneable
public ref class VisualLineElementTextRunProperties : public TextRunProperties, 
	ICloneable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
VisualLineElementTextRunProperties(TextRunProperties)
Creates a new VisualLineElementTextRunProperties instance that copies its values from the specified textRunProperties. For the TextDecorations and TextEffects collections, deep copies are created if those collections are not frozen.

BackgroundBrush
Gets the brush that is used to paint the background color of the text run.
(Overrides TextRunProperties.BackgroundBrush.)
BaselineAlignment
Gets the baseline style for a text that is positioned on the vertical axis.
(Overrides TextRunProperties.BaselineAlignment.)
Clone()()()()
Creates a copy of this instance.

CultureInfo
Gets the culture information for the text run.
(Overrides TextRunProperties.CultureInfo.)
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.)
FontHintingEmSize
Gets the text size in points, which is then used for font hinting.
(Overrides TextRunProperties.FontHintingEmSize.)
FontRenderingEmSize
Gets the text size in points for the text run.
(Overrides TextRunProperties.FontRenderingEmSize.)
ForegroundBrush
Gets the brush that is used to paint the foreground color of the text run.
(Overrides TextRunProperties.ForegroundBrush.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
NumberSubstitution
Gets the number substitution settings for the text run.
(Overrides TextRunProperties.NumberSubstitution.)
SetBackgroundBrush(Brush)
Sets the BackgroundBrush.

SetBaselineAlignment(BaselineAlignment)
Sets the BaselineAlignment.

SetCultureInfo(CultureInfo)
Sets the CultureInfo.

SetFontHintingEmSize(Double)
Sets the FontHintingEmSize.

SetFontRenderingEmSize(Double)
SetForegroundBrush(Brush)
Sets the ForegroundBrush.

SetNumberSubstitution(NumberSubstitution)
Sets the NumberSubstitution.

SetTextDecorations(TextDecorationCollection)
Sets the TextDecorations.

SetTextEffects(TextEffectCollection)
Sets the TextEffects.

SetTypeface(Typeface)
Sets the Typeface.

SetTypographyProperties(TextRunTypographyProperties)
TextDecorations
Gets the text decorations. The value may be null, a frozen TextDecorationCollection or an unfrozen TextDecorationCollection. If the value is an unfrozen TextDecorationCollection, you may assume that the collection instance is only used for this TextRunProperties instance and it is safe to add TextDecorations.
(Overrides TextRunProperties.TextDecorations.)
TextEffects
Gets the text effects. The value may be null, a frozen TextEffectCollection or an unfrozen TextEffectCollection. If the value is an unfrozen TextEffectCollection, you may assume that the collection instance is only used for this TextRunProperties instance and it is safe to add TextEffects.
(Overrides TextRunProperties.TextEffects.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Typeface
Gets the typeface for the text run.
(Overrides TextRunProperties.Typeface.)
TypographyProperties
Gets the typography properties for the text run.
(Overrides TextRunProperties.TypographyProperties.)
Inheritance Hierarchy
Object
TextRunProperties
 VisualLineElementTextRunProperties

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