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.Spreadsheet.UI
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class TextBlock : FrameworkElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, IShortcutProvider, IStylableElement, IStylableNode, ISupportDrop
Constructors
TextBlock()
Declaration
public TextBlock()
Fields
LineHeightProperty
LineStackingStrategyProperty
Properties
BaselineOffset
Declaration
public double BaselineOffset { get; set; }
Property Value
System.Double
|
FlowDirection
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
|
Padding
Declaration
public override Padding Padding { get; set; }
Property Value
System.Windows.Forms.Padding
|
Overrides
Strikeout
Declaration
public bool Strikeout { get; set; }
Property Value
System.Boolean
|
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
TextAlignment
TextWrapping
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System.Windows.TextWrapping
|
Underline
Declaration
public bool Underline { get; set; }
Property Value
System.Boolean
|
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
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
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.String
|