Class
TextBoxScroller

Represents a scroller in RadTextBoxControlElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class TextBoxScroller : IDisposable

Inheritance: objectTextBoxScroller

Implements: IDisposable

Constructors

TextBoxScroller(RadScrollBarElement)

Initializes a new instance of the TextBoxScroller class.

Declaration

cs-api-definition
public TextBoxScroller(RadScrollBarElement scrollBar)

Parameters

scrollBar

RadScrollBarElement

The scroll bar.

Properties

ClientSize

Gets the size of the client area.

Declaration

cs-api-definition
public SizeF ClientSize { get; }

Property Value

SizeF

The size of the client.

DesiredSize

Gets the desired size of the document

Declaration

cs-api-definition
public SizeF DesiredSize { get; }

Property Value

SizeF

The size of the desired.

LargeChange

Gets or sets the large change of the scrollbar.

Declaration

cs-api-definition
public int LargeChange { get; set; }

Property Value

int

The large change.

MaxValue

Gets the max value of the scrollbar

Declaration

cs-api-definition
public int MaxValue { get; }

Property Value

int

ScrollBar

Gets the associated scroll bar.

Declaration

cs-api-definition
public RadScrollBarElement ScrollBar { get; }

Property Value

RadScrollBarElement

ScrollState

Gets or sets the state of the scrollbar.

Declaration

cs-api-definition
public ScrollState ScrollState { get; set; }

Property Value

ScrollState

The state of the scrollbar.

SmallChange

Gets or sets the small change of the scrollbar.

Declaration

cs-api-definition
public int SmallChange { get; set; }

Property Value

int

The small change.

Value

Gets or sets the value of the scrollbar

Declaration

cs-api-definition
public virtual int Value { get; set; }

Property Value

int

The value.

Methods

Dispose()

Declaration

cs-api-definition
public void Dispose()

Implements IDisposable.Dispose()

Dispose(bool)

Declaration

cs-api-definition
protected virtual void Dispose(bool disposing)

Parameters

disposing

bool

OnScrollerUpdated(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnScrollerUpdated(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

ResumeNotifications()

Resumes the notifications of event.

Declaration

cs-api-definition
public void ResumeNotifications()

SetScrollBarVisibility()

Sets the scroll bar visibility.

Declaration

cs-api-definition
protected virtual void SetScrollBarVisibility()

SuspendNotifications()

Suspends the notifications of event.

Declaration

cs-api-definition
public void SuspendNotifications()

UpdateScrollBar()

Updates the scroll bar

Declaration

cs-api-definition
protected virtual void UpdateScrollBar()

UpdateScrollRange(SizeF, SizeF)

Updates the scroll range.

Declaration

cs-api-definition
public void UpdateScrollRange(SizeF clientSize, SizeF desiredSize)

Parameters

clientSize

SizeF

Size of the client.

desiredSize

SizeF

Size of the desired.

~TextBoxScroller()

Declaration

cs-api-definition
protected ~TextBoxScroller()

Events

ScrollerUpdated

Occurs when the scroller is updated.

Declaration

cs-api-definition
public event EventHandler ScrollerUpdated

Event Value

EventHandler