Class FakeEditControl
Represents a control that is used to render the content of the StreamEditControl.
Inheritance
System.Object
FakeEditControl
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class FakeEditControl : IntelliScrollableControl
Constructors
FakeEditControl()
Initializes a new instance of the FakeEditControl class.
Declaration
public FakeEditControl()
Properties
Control
Gets or sets the real edit control used as a source for the data.
Declaration
public StreamEditControl Control { get; set; }
Property Value
Type |
---|
StreamEditControl |
MaxWidth
Gets the maximum width of the line which is used for WordWrapping.
Declaration
public int MaxWidth { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
OnPaint(PaintEventArgs)
Paints background and foreground of the control
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e | PaintEventArgs |
Overrides
OnRightToLeftChanged(EventArgs)
Overrides the OnRighttoLeftchanged
Declaration
protected override void OnRightToLeftChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e |
OnVScroll(Object, ScrollEventArgs)
Processes vertical scroll event.
Declaration
protected override void OnVScroll(object sender, ScrollEventArgs se)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | Sender. |
System.Windows.Forms.ScrollEventArgs | se | ScrollEventArgs. |
Overrides
ScrollLines(HybridScrollControl.ScrollDirection, Single)
Scrolls control vertically by specified amount of lines.
Declaration
protected override void ScrollLines(HybridScrollControl.ScrollDirection direction, float fLinesCount)
Parameters
Type | Name | Description |
---|---|---|
HybridScrollControl.ScrollDirection | direction | Direction of scrolling. |
System.Single | fLinesCount | Count of lines to scroll. |
Overrides
UpdateScrollBarsVisibility()
Updates visibility of the ScrollBars.
Declaration
protected override void UpdateScrollBarsVisibility()