ScrollBarThumb
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
public ScrollBarThumb()
Fields
public static RadProperty IsPressedProperty
Properties
Gets or sets the image associated with the thumb
public Image GripImage { get; set; }
Gets a value indicating whether the thumb is in pressed state.
[Browsable(false)]
public bool IsPressed { get; }
Gets the BorderPrimitive contained in the thumb.
public BorderPrimitive ThumbBorder { get; }
Gets an instance of FillPrimitive contained in the thumb.
public FillPrimitive ThumbFill { get; }
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Gets the VisualStyleElement instance that describes the skin appearance for the element when the current OS is Windows Vista.
public override VisualStyleElement GetVistaVisualStyle()
The visual style element for Windows Vista.
Overrides:
Gets the Visual Style Element instance that describes the skin appearance for the element when the current OS is Windows XP.
public override VisualStyleElement GetXPVisualStyle()
The visual style element for Windows XP.
Overrides:
Initializes the fields of this instance with their default values.
protected override void InitializeFields()
Overrides:
Called when the element has been successfully loaded. That includes loading of all its children as well.
protected override void OnLoaded()
Overrides:
Begins a drag operation on left mouse button press by capturing the mouse and recording the initial cursor and thumb positions used later to compute drag offsets.
Clears the pressed visual state when the mouse leaves the thumb, unless a drag operation is currently in progress (mouse captured).
Updates the thumb's position while it is being dragged (mouse captured), or while the left
button is held down over the thumb without capture (used inside the non-client area of RadForm).
Ends the drag operation started by OnMouseDown(MouseEventArgs), releasing mouse capture and applying the final thumb position.
Provides a routine to paint element's content when system skin appearance is desired.
protected override void PaintElementSkin(IGraphics graphics)
Overrides:
protected override bool ShouldPaintChild(RadElement element)
Overrides: