Class PageAdv
Inheritance
System.Object
PageAdv
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
Syntax
public class PageAdv : ContentControl
Constructors
PageAdv()
Initializes the new instance of RichEditPage class
Declaration
public PageAdv()
Properties
Caret
Gets the Caret instance.
Declaration
public CaretAdv Caret { get; }
Property Value
Type |
---|
CaretAdv |
LineInfos
Gets or Sets the Line informations
Declaration
public ObservableCollection<LineInfo> LineInfos { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<LineInfo> |
OwnerControl
Gets or Sets the owner control
Declaration
public RichTextBoxAdv OwnerControl { get; set; }
Property Value
Type |
---|
RichTextBoxAdv |
PageContentMargin
Gets or Sets the padding
Declaration
public Thickness PageContentMargin { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
Methods
HideCaret(Boolean)
Hides the caret
Declaration
public void HideCaret(bool isTouch)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isTouch |
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | availableSize |
Returns
Type |
---|
System.Windows.Size |
OnApplyTemplate()
Applies the template
Declaration
public override void OnApplyTemplate()
OnGotFocus(RoutedEventArgs)
Handles got focus event
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e |
OnLostFocus(RoutedEventArgs)
Handles the lost focus event
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.RoutedEventArgs | e |
ReleaseResources()
Releases the resources
Declaration
public void ReleaseResources()
ShowCaret(Boolean)
Shows the caret
Declaration
public void ShowCaret(bool isTouch)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isTouch |