Class TextBoxScroller
Represents a scroller in RadTextBoxControlElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class TextBoxScroller : IDisposable
  Constructors
TextBoxScroller(RadScrollBarElement)
Initializes a new instance of the TextBoxScroller class.
Declaration
public TextBoxScroller(RadScrollBarElement scrollBar)
  Parameters
| 
        RadScrollBarElement
        scrollBar
         The scroll bar.  | 
    
Properties
ClientSize
Gets the size of the client area.
Declaration
public SizeF ClientSize { get; }
  Property Value
| 
        System.Drawing.SizeF
         The size of the client.  | 
    
DesiredSize
Gets the desired size of the document
Declaration
public SizeF DesiredSize { get; }
  Property Value
| 
        System.Drawing.SizeF
         The size of the desired.  | 
    
LargeChange
Gets or sets the large change of the scrollbar.
Declaration
public int LargeChange { get; set; }
  Property Value
| 
        System.Int32
         The large change.  | 
    
MaxValue
Gets the max value of the scrollbar
Declaration
public int MaxValue { get; }
  Property Value
| 
        System.Int32
         
  | 
    
ScrollBar
Gets the associated scroll bar.
Declaration
public RadScrollBarElement ScrollBar { get; }
  Property Value
| 
        RadScrollBarElement
         
  | 
    
ScrollState
Gets or sets the state of the scrollbar.
Declaration
public ScrollState ScrollState { get; set; }
  Property Value
| 
        ScrollState
         The state of the scrollbar.  | 
    
SmallChange
Gets or sets the small change of the scrollbar.
Declaration
public int SmallChange { get; set; }
  Property Value
| 
        System.Int32
         The small change.  | 
    
Value
Gets or sets the value of the scrollbar
Declaration
public virtual int Value { get; set; }
  Property Value
| 
        System.Int32
         The value.  | 
    
Methods
Dispose()
Declaration
public void Dispose()
  Implements
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| 
        System.Boolean
        disposing
         
  | 
    
Finalize()
Declaration
protected void Finalize()
  OnScrollerUpdated(EventArgs)
Raises the ScrollerUpdated event.
Declaration
protected virtual void OnScrollerUpdated(EventArgs e)
  Parameters
| 
        System.EventArgs
        e
         The System.EventArgs instance containing the event data.  | 
    
ResumeNotifications()
Resumes the notifications of ScrollerUpdated event.
Declaration
public void ResumeNotifications()
  SetScrollBarVisibility()
Sets the scroll bar visibility.
Declaration
protected virtual void SetScrollBarVisibility()
  SuspendNotifications()
Suspends the notifications of ScrollerUpdated event.
Declaration
public void SuspendNotifications()
  UpdateScrollBar()
Updates the scroll bar
Declaration
protected virtual void UpdateScrollBar()
  UpdateScrollRange(SizeF, SizeF)
Updates the scroll range.
Declaration
public void UpdateScrollRange(SizeF clientSize, SizeF desiredSize)
  Parameters
| 
        System.Drawing.SizeF
        clientSize
         Size of the client.  | 
    
| 
        System.Drawing.SizeF
        desiredSize
         Size of the desired.  | 
    
Events
ScrollerUpdated
Occurs when the scroller is updated.
Declaration
public event EventHandler ScrollerUpdated
  Event Type
| 
        System.EventHandler
         
  |