ClassScrollBarThumb
Represents a scrollbar thumb in the scroll bar.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[ComVisible(false)]
public class ScrollBarThumb : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemScrollBarThumb
Implements:
Inherited Members
Constructors
ScrollBarThumb()
Declaration
public ScrollBarThumb()
Fields
Properties
GripImage
Gets or sets the image associated with the thumb
IsPressed
Gets a value indicating whether the thumb is in pressed state.
ThumbBorder
Gets the BorderPrimitive contained in the thumb.
Declaration
public BorderPrimitive ThumbBorder { get; }
Property Value
ThumbFill
Gets an instance of FillPrimitive contained in the thumb.
Methods
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetVistaVisualStyle()
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
Declaration
public override VisualStyleElement GetVistaVisualStyle()
Returns
The visual style element for Windows Vista.
Overrides
GetXPVisualStyle()
Gets the Visual Style Element instance that describes the skin appearance for the element when the current OS is Windows XP.
Declaration
public override VisualStyleElement GetXPVisualStyle()
Returns
The visual style element for Windows XP.
Overrides
InitializeFields()
Initializes the fields of this instance with their default values.
Declaration
protected override void InitializeFields()
Overrides
OnLoaded()
Called when the element has been successfully loaded. That includes loading of all its children as well.
Declaration
protected override void OnLoaded()
Overrides
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
e
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse moves over the item, handling highlight and border highlight effects.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
PaintElementSkin(IGraphics)
Provides a routine to paint element's content when system skin appearance is desired.
Declaration
protected override void PaintElementSkin(IGraphics graphics)
Parameters
graphics
Overrides
ShouldPaintChild(RadElement)
Declaration
protected override bool ShouldPaintChild(RadElement element)
Parameters
element
Returns
Overrides