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.Double
The actual height. |
ActualWidth
Gets the actual width.
Declaration
public double ActualWidth { get; }
Property Value
System.Double
The actual width. |
BaselineOffset
Gets the baseline offset.
Declaration
public double BaselineOffset { get; }
Property Value
System.Double
The baseline offset. |
Clip
Gets or sets the clip.
Declaration
public Rect Clip { get; set; }
Property Value
System.Windows.Rect
The value of the clip. |
FontFamily
Gets or sets the font family.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
System.Windows.Media.FontFamily
The font family. |
FontSize
Gets or sets the size of the font.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
The size of the font. |
FontStyle
Gets or sets the font style.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
System.Windows.FontStyle
The font style. |
FontWeight
Gets or sets the font weight.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
System.Windows.FontWeight
The font weight. |
Foreground
Gets or sets the foreground.
Declaration
public Color Foreground { get; set; }
Property Value
System.Windows.Media.Color
The foreground. |
Inlines
Gets the inlines of RadTextBlock.
Declaration
public RadInlineCollection Inlines { get; }
Property Value
RadInlineCollection
The collection of inlines. |
Left
Gets or sets the left of RadTextBlock.
Declaration
public double Left { get; set; }
Property Value
System.Double
The left value. |
MaxWidth
Gets or sets the max width.
Declaration
public double MaxWidth { get; set; }
Property Value
System.Double
The maximum width of RadTextBlock. |
Padding
Gets or sets the padding.
Declaration
public Thickness Padding { get; set; }
Property Value
System.Windows.Thickness
The padding. |
Text
Gets or sets the text of RadTextBlock.
Declaration
public string Text { get; set; }
Property Value
System.String
The value of the text. |
TextAlignment
Gets or sets the text alignment.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System.Windows.TextAlignment
The text alignment. |
TextDecorations
Gets or sets the text decorations.
Declaration
public TextDecorationCollection TextDecorations { get; set; }
Property Value
System.Windows.TextDecorationCollection
The text decorations. |
TextWrapping
Gets or sets the text wrapping.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
System.Windows.TextWrapping
The text wrapping. |
Top
Gets or sets the top value of RadTextBlock.
Declaration
public double Top { get; set; }
Property Value
System.Double
The top value. |
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
System.Windows.Visibility
The visibility. |
Width
Gets or sets the width.
Declaration
public double Width { get; set; }
Property Value
System.Double
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.Windows.Size
availableSize
The available size that this object can give to child objects. Infinity (System.Double.PositiveInfinity) can be specified as a value to indicate that the object will size to whatever content is available. |
Returns
System.Windows.Size
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. |