Class TextBlock
Inheritance
System.Object
TextBlock
Inherited Members
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: Telerik.WinControls.SyntaxEditor.UI
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class TextBlock : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Constructors
TextBlock()
Declaration
public TextBlock()
Fields
FontFamilyProperty
FontSizeProperty
FontStyleProperty
FontWeightProperty
LineHeightProperty
LineStackingStrategyProperty
Properties
BaselineOffset
Declaration
public double BaselineOffset { get; set; }
Property Value
System.Double
|
FlowDirection
Declaration
public override FlowDirection FlowDirection { get; set; }
Property Value
FlowDirection
|
Overrides
FontFamily
FontSize
Declaration
public double FontSize { get; set; }
Property Value
System.Double
|
FontStyle
FontWeight
Foreground
Declaration
public Brush Foreground { get; set; }
Property Value
System.Drawing.Brush
|
Inlines
Declaration
public ItemNotifyCollection<Run> Inlines { get; }
Property Value
ItemNotifyCollection<Run>
|
LineHeight
Declaration
public double LineHeight { get; set; }
Property Value
System.Double
|
LineStackingStrategy
Declaration
public LineStackingStrategy LineStackingStrategy { get; set; }
Property Value
LineStackingStrategy
|
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
TextAlignment
Methods
DrawGdi(Single, Graphics, Single)
Declaration
protected virtual void DrawGdi(float angle, Graphics nativeGraphics, float fontSizeScale)
Parameters
System.Single
angle
|
System.Drawing.Graphics
nativeGraphics
|
System.Single
fontSizeScale
|
DrawGdiPlus(Single, Graphics, Single)
Declaration
protected virtual void DrawGdiPlus(float angle, Graphics nativeGraphics, float fontSizeScale)
Parameters
System.Single
angle
|
System.Drawing.Graphics
nativeGraphics
|
System.Single
fontSizeScale
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MeasureText(SizeF)
PaintElement(IGraphics, Single, SizeF)
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
IGraphics
graphics
|
System.Single
angle
|
System.Drawing.SizeF
scale
|