Class RadTextBlock
Provides methods and properties for using RadTextBlock.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class RadTextBlock : ContentControl
Constructors
RadTextBlock()
Properties
ActualHeight
Gets the actual height.
Declaration
public double ActualHeight { get; }
Property Value
System. The actual height. |
ActualWidth
Gets the actual width.
Declaration
public double ActualWidth { get; }
Property Value
System. The actual width. |
BaselineOffset
Gets the baseline offset.
Declaration
public double BaselineOffset { get; }
Property Value
System. The baseline offset. |
Clip
Gets or sets the clip.
Declaration
public Rect Clip { get; set; }
Property Value
System. The value of the clip. |
FontFamily
Gets or sets the font family.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
System. The font family. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System. The size of the font. |
FontStyle
Gets or sets the font style.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
System. The font style. |
FontWeight
Gets or sets the font weight.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
System. The font weight. |
Foreground
Gets or sets the foreground.
Declaration
public Color Foreground { get; set; }
Property Value
System. The foreground. |
Inlines
Gets the inlines of RadTextBlock.
Declaration
public RadInlineCollection Inlines { get; }
Property Value
Rad The collection of inlines. |
Left
Gets or sets the left of RadTextBlock.
Declaration
public double Left { get; set; }
Property Value
System. The left value. |
MaxWidth
Gets or sets the max width.
Declaration
public double MaxWidth { get; set; }
Property Value
System. The maximum width of RadTextBlock. |
Padding
Gets or sets the padding.
Declaration
public Thickness Padding { get; set; }
Property Value
System. The padding. |
Text
Gets or sets the text of RadTextBlock.
Declaration
public string Text { get; set; }
Property Value
System. The value of the text. |
TextAlignment
Gets or sets the text alignment.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System. The text alignment. |
TextDecorations
Gets or sets the text decorations.
Declaration
public TextDecorationCollection TextDecorations { get; set; }
Property Value
System. The text decorations. |
TextWrapping
Gets or sets the text wrapping.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System. The text wrapping. |
Top
Gets or sets the top value of RadTextBlock.
Declaration
public double Top { get; set; }
Property Value
System. The top value. |
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
System. The visibility. |
Width
Gets or sets the width.
Declaration
public double Width { get; set; }
Property Value
System. The width. |
Methods
MeasureOverride(Size)
Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System. The available size that this object can give to child
objects. Infinity (System. |
Returns
System. The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects; or based on other considerations, such as a fixed container size. |