Class HyperlinkElementBox
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
Syntax
public class HyperlinkElementBox : ElementBox
Constructors
HyperlinkElementBox()
Initializes the new instance of HyperlinkElementBox
Declaration
public HyperlinkElementBox()
HyperlinkElementBox(FrameworkElement)
Initializes the new instance of HyperlinkElementBox
Declaration
public HyperlinkElementBox(FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.FrameworkElement | element |
Properties
Baseline
Gets or Sets the baseline of the text
Declaration
public Baseline Baseline { get; set; }
Property Value
Type |
---|
Baseline |
FontFamily
Gets or Sets the font family
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
FontSize
Gets or Sets the font size
Declaration
public double FontSize { get; set; }
Property Value
Type |
---|
System.Double |
FontStyle
Gets or Sets the font style
Declaration
public FontStyle FontStyle { get; set; }
Property Value
Type |
---|
System.Windows.FontStyle |
FontWeight
Gets or Sets the font weight
Declaration
public FontWeight FontWeight { get; set; }
Property Value
Type |
---|
System.Windows.FontWeight |
Foreground
Gets or Sets the foreground
Declaration
public Color Foreground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Color |
NavigationUrl
Gets or Sets the navigation url
Declaration
public string NavigationUrl { get; set; }
Property Value
Type |
---|
System.String |
Text
Gets or Sets the text present in the TextBlock
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
DrawHighlight(Rect)
Draws the highlighting rectangle
Declaration
public void DrawHighlight(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect |
DrawStrikeThrough(Rect)
Declaration
public void DrawStrikeThrough(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect |
DrawText()
Draws the text
Declaration
public void DrawText()
DrawUnderline(Rect)
Declaration
public void DrawUnderline(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Rect | rect |
GetBaselineOffset()
Declaration
public double GetBaselineOffset()
Returns
Type |
---|
System.Double |
OnTextChanged()
Declaration
protected override void OnTextChanged()
Overrides
Render()
Declaration
public override void Render()