Class ParagraphAdv
Inheritance
System.Object
ParagraphAdv
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
public class ParagraphAdv : BlockAdv
Constructors
Initializes new instance of Paragraph class
Declaration
Fields
Registers AfterSpacing dependency property
Declaration
public static readonly DependencyProperty AfterSpacingProperty
Field Value
Type |
System.Windows.DependencyProperty |
Registers BeforeSpacing dependency property
Declaration
public static readonly DependencyProperty BeforeSpacingProperty
Field Value
Type |
System.Windows.DependencyProperty |
Registers LineSpacing dependency property
Declaration
public static readonly DependencyProperty LineSpacingProperty
Field Value
Type |
System.Windows.DependencyProperty |
Registers the ListType dependency property
Declaration
public static readonly DependencyProperty ListTypeProperty
Field Value
Type |
System.Windows.DependencyProperty |
TextAlignmentProperty
Registers TextAlignment dependency property
Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
Type |
System.Windows.DependencyProperty |
Properties
Gets or Sets After Spacing
Declaration
public double AfterSpacing { get; set; }
Property Value
Gets or Sets Before Spacing
Declaration
public double BeforeSpacing { get; set; }
Property Value
It gets/sets the Hanging value
Declaration
public double Hanging { get; }
Property Value
Declaration
public override bool IsEmpty { get; }
Property Value
Overrides
Gets or Sets Line spacing
Declaration
public double LineSpacing { get; set; }
Property Value
Gets or Sets the list type of the paragraph
Declaration
public ListType ListType { get; set; }
Property Value
TextAlignment
Gets or Sets Text Alignment
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
Type |
System.Windows.TextAlignment |
Methods
It copies the Paragraph instance.
Declaration
public override BlockAdv CopyBlock()
Returns
Overrides
It creates the new Paragraph instance.
Declaration
public ParagraphAdv CreateNewParagraph()
Returns
Check whether two paragraphs in equal style.
Declaration
public bool IsEqualInStyle(ParagraphAdv secondparagrah)
Parameters
Returns
Declaration
protected static void OnListTypeChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs args)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
dependencyObject |
|
System.Windows.DependencyPropertyChangedEventArgs |
args |
|
Declaration
public override string ToString()
Returns