Class WordDetails
Word Details class is used to store values related to tokens in the line
Inheritance
System.Object
WordDetails
Namespace: Syncfusion.Windows.Edit
Assembly: Syncfusion.Edit.Wpf.dll
Syntax
public class WordDetails : Object
Remarks
The word details class contain the word properties like StartIndex, EndIndex, Foreground, Font etc.
Examples
// Initializing worddetails
WordDetails WordDetails = new WordDetails();
WordDetails.StartIndex = 0;
WordDetails.EndIndex = 10;
WordDetails.FontSize = 12;
Constructors
WordDetails()
Initializes a new instance of the WordDetails class.
Declaration
public WordDetails()
Properties
EndIndex
Gets or sets Token's End Index with respect to LineItem
Declaration
public int EndIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: System.Int32 |
EndPosition
Gets or sets Token's End Position with respect to screen points
Declaration
public Point EndPosition { get; set; }
Property Value
Type |
---|
System.Windows.Point |
Font
Gets or sets token's FontFamily
Declaration
public FontFamily Font { get; set; }
Property Value
Type |
---|
System.Windows.Media.FontFamily |
FontSize
Gets or sets token's FontSize
Declaration
public double FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | Type: System.Double |
Foreground
Gets or sets token's foreground brush
Declaration
public Brush Foreground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
StartIndex
Gets or sets Token's Start Index with respect to LineItem
Declaration
public int StartIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Type: System.Int32 |
StartPosition
Gets or sets Token's Start Position with the screen points
Declaration
public Point StartPosition { get; set; }
Property Value
Type |
---|
System.Windows.Point |
Text
Gets or sets Token's text
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type: System.String |