New to Telerik UI for WinFormsStart a free 30-day trial

Represents a scroller in RadTextBoxControlElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBoxScroller : IDisposable

Inheritance: objectTextBoxScroller

Implements: IDisposable

Constructors

Initializes a new instance of the TextBoxScroller class.

C#
public TextBoxScroller(RadScrollBarElement scrollBar)
Parameters:scrollBarRadScrollBarElement

The scroll bar.

Properties

Gets the size of the client area.

C#
public SizeF ClientSize { get; }
Property Value:

The size of the client.

Gets the desired size of the document

C#
public SizeF DesiredSize { get; }
Property Value:

The size of the desired.

Gets or sets the large change of the scrollbar.

C#
public int LargeChange { get; set; }
Property Value:

The large change.

Gets the max value of the scrollbar

C#
public int MaxValue { get; }

Gets the associated scroll bar.

C#
public RadScrollBarElement ScrollBar { get; }

Gets or sets the state of the scrollbar.

C#
public ScrollState ScrollState { get; set; }
Property Value:

The state of the scrollbar.

Gets or sets the small change of the scrollbar.

C#
public int SmallChange { get; set; }
Property Value:

The small change.

Gets or sets the value of the scrollbar

C#
public virtual int Value { get; set; }
Property Value:

The value.

Methods

C#
protected ~TextBoxScroller()
C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

Raises the event.

C#
protected virtual void OnScrollerUpdated(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

Resumes the notifications of event.

C#
public void ResumeNotifications()

Sets the scroll bar visibility.

C#
protected virtual void SetScrollBarVisibility()

Suspends the notifications of event.

C#
public void SuspendNotifications()

Updates the scroll bar

C#
protected virtual void UpdateScrollBar()

Updates the scroll range.

C#
public void UpdateScrollRange(SizeF clientSize, SizeF desiredSize)
Parameters:clientSizeSizeF

Size of the client.

desiredSizeSizeF

Size of the desired.

Events

Occurs when the scroller is updated.

C#
public event EventHandler ScrollerUpdated