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:
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when the mouse moves over the item, handling highlight and border highlight effects.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
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: