RadScrollBarElement
Implements the basic functionality for scrolling.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax:
[ ComVisible ( false ) ]
public class RadScrollBarElement : RadItem , INotifyPropertyChanged , ICustomTypeDescriptor , ISupportSystemSkin , IBindableComponent , IComponent , IDisposable , ISupportDrag , ISupportDrop , IShortcutProvider , IStylableElement , IStylableNode
Inheritance:
object DisposableObject RadObject RadElement VisualElement RadComponentElement RadItem RadScrollBarElement
Implements:
IBindableComponent IComponent ICustomTypeDescriptor IDisposable INotifyPropertyChanged IShortcutProvider IStylableElement IStylableNode ISupportDrag ISupportDrop ISupportSystemSkin Show more
Inherited Members
RadItem.KeyDownEvent RadItem.KeyPressEvent RadItem.KeyUpEvent RadItem.FocusCommand RadItem.ActionCommand RadItem.UseDefaultDisabledPaintProperty RadItem.TextProperty RadItem.TextOrientationProperty RadItem.FlipTextProperty RadItem.IsAddNewItemProperty RadItem.ToolTipTextProperty RadItem.EnableElementShadowProperty RadItem.ShadowDepthProperty RadItem.ShadowColorProperty RadItem.IsPaintingRipple RadItem.EnableRippleAnimationProperty RadItem.RippleAnimationColorProperty RadItem.EnableFocusBorderProperty RadItem.FocusBorderColorProperty RadItem.FocusBorderWidthProperty RadItem.EnableFocusBorderAnimationProperty RadItem.EnableHighlightProperty RadItem.HighlightColorProperty RadItem.EnableBorderHighlightProperty RadItem.BorderHighlightColorProperty RadItem.BorderHighlightThicknessProperty RadItem.VisualStateProperty RadItem.SetOwnerCollection(RadItemOwnerCollection) RadItem.Select() RadItem.OnSelect() RadItem.Deselect() RadItem.OnDeselect() RadItem.DoKeyDown(KeyEventArgs) RadItem.DoKeyPress(KeyPressEventArgs) RadItem.DoKeyUp(KeyEventArgs) RadItem.OnKeyDown(KeyEventArgs) RadItem.OnKeyPress(KeyPressEventArgs) RadItem.OnKeyUp(KeyEventArgs) RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs) RadItem.OnPropertyChanging(RadPropertyChangingEventArgs) RadItem.OnEnabledChanged(RadPropertyChangedEventArgs) RadItem.OnTextChanging(TextChangingEventArgs) RadItem.OnTextChanged(EventArgs) RadItem.OnTextOrientationChanged(EventArgs) RadItem.OnFlipTextChanged(EventArgs) RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool) RadItem.OnMouseMove(MouseEventArgs) RadItem.StartRippleAnimation(MouseEventArgs) RadItem.UpdateFocusBorder(bool) RadItem.ContainsText() RadItem.ShouldSerializeProperty(PropertyDescriptor) RadItem.ProcessDialogKey(Keys) RadItem.ProcessCmdKey(ref Message, Keys) RadItem.RaiseKeyDown(KeyEventArgs) RadItem.RaiseKeyPress(KeyPressEventArgs) RadItem.RaiseKeyUp(KeyEventArgs) RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection) RadItem.CallOnGesture(GestureEventArgs) RadItem.OnGesture(GestureEventArgs) RadItem.OnTwoFingerTapGesture(GestureEventArgs) RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs) RadItem.OnRotateGesture(RotateGestureEventArgs) RadItem.OnZoomGesture(ZoomGestureEventArgs) RadItem.CanDragCore(Point) RadItem.GetDragContextCore() RadItem.GetDragHintCore() RadItem.ProcessDragDrop(Point, ISupportDrag) RadItem.ProcessDragOver(Point, ISupportDrag) RadItem.ProcessDragEnter(Point, ISupportDrag) RadItem.ProcessDragLeave(Point, ISupportDrag) RadItem.UpdateOnShortcutsChanged() RadItem.CanHandleShortcut(ShortcutEventArgs) RadItem.IsOnActiveForm(Control, bool) RadItem.SetThemeValueOverride(RadProperty, object, string) RadItem.SetThemeValueOverride(RadProperty, object, string, string) RadItem.SetThemeValueOverride(RadProperty, object, string, Type) RadItem.ResetThemeValueOverride(RadProperty) RadItem.ResetThemeValueOverride(RadProperty, string) RadItem.ResetThemeValueOverrides() RadItem.GetAvailableVisualStates() RadItem.ShouldFallbackToDefaultTheme() RadItem.UseDefaultDisabledPaint RadItem.TextOrientation RadItem.FlipText RadItem.CanHaveOwnStyle RadItem.Text RadItem.Selectable RadItem.DefaultAutoToolTip RadItem.ShouldHandleMouseInput RadItem.KeyTip RadItem.ParentItem RadItem.ShortcutsHandler RadItem.EnableElementShadow RadItem.ShadowDepth RadItem.ShadowColor RadItem.EnableRippleAnimation RadItem.RippleAnimationColor RadItem.EnableFocusBorder RadItem.FocusBorderColor RadItem.FocusBorderWidth RadItem.EnableFocusBorderAnimation RadItem.EnableHighlight RadItem.HighlightColor RadItem.EnableBorderHighlight RadItem.BorderHighlightColor RadItem.BorderHighlightThickness RadItem.MnemonicText RadItem.ToolTipText RadItem.ThemeRole RadItem.VisualState RadItem.StateManager RadItem.AllowDrag RadItem.AllowDrop RadItem.Shortcuts RadItem.AccessibleDescription RadItem.AccessibleName RadItem.AccessibleRole RadItem.TextChanging RadItem.TextChanged RadItem.TextOrientationChanged RadItem.FlipTextChanged RadItem.QueryAccessibilityHelp RadItem.KeyDown RadItem.KeyPress RadItem.KeyUp RadItem.ZoomGesture RadItem.RotateGesture RadItem.PanGesture RadItem.TwoFingerTapGesture RadItem.PressAndTapGesture RadComponentElement.ToString() RadComponentElement.GetService(Type) RadComponentElement.CanRaiseEvents RadComponentElement.Container RadComponentElement.DesignMode RadComponentElement.Site RadComponentElement.DataBindings VisualElement.DefaultSizeProperty VisualElement.ForeColorProperty VisualElement.BackColorProperty VisualElement.FontProperty VisualElement.SmoothingModeProperty VisualElement.OpacityProperty VisualElement.CustomFontProperty VisualElement.CustomFontSizeProperty VisualElement.CustomFontStyleProperty VisualElement.OnFontChanged(EventArgs) VisualElement.PaintElement(IGraphics, float, SizeF) VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool) VisualElement.PrePaintElement(IGraphics) VisualElement.PostPaintElement(IGraphics) VisualElement.GetScaledFont(float) VisualElement.GetScaledFont(float, Font) VisualElement.DefaultSize VisualElement.ForeColor VisualElement.BackColor VisualElement.Font VisualElement.CustomFont VisualElement.CustomFontSize VisualElement.CustomFontStyle VisualElement.SmoothingMode VisualElement.Opacity VisualElement.FontChanged RadElement.BoundsProperty RadElement.BorderThicknessProperty RadElement.PaddingProperty RadElement.MarginProperty RadElement.AlignmentProperty RadElement.AutoSizeModeProperty RadElement.FitToSizeModeProperty RadElement.MinSizeProperty RadElement.EnabledProperty RadElement.CanFocusProperty RadElement.IsItemFocusedProperty RadElement.IsFocusedProperty RadElement.IsMouseOverProperty RadElement.IsMouseOverElementProperty RadElement.IsMouseDownProperty RadElement.ShouldPaintProperty RadElement.VisibilityProperty RadElement.NameProperty RadElement.ClassProperty RadElement.ClipDrawingProperty RadElement.ShapeProperty RadElement.MouseClickedEvent RadElement.MouseDoubleClickedEvent RadElement.MouseDownEvent RadElement.MouseUpEvent RadElement.MouseWheelEvent RadElement.ChildElementAddedEvent RadElement.ParentChangedEvent RadElement.BoundsChangedEvent RadElement.VisibilityChangingEvent RadElement.EnabledChangedEvent RadElement.ControlChangedEvent RadElement.BackgroundShapeProperty RadElement.BackgroundShapePaintModeProperty RadElement.ContainsFocusProperty RadElement.ContainsMouseProperty RadElement.MaxSizeProperty RadElement.RightToLeftProperty RadElement.AutoSizeProperty RadElement.ZIndexProperty RadElement.AngleTransformProperty RadElement.ScaleTransformProperty RadElement.PositionOffsetProperty RadElement.TagProperty RadElement.StretchHorizontallyProperty RadElement.StretchVerticallyProperty RadElement.UseCompatibleTextRenderingProperty RadElement.ClickModeProperty RadElement.styleVersion RadElement.paintSystemSkin RadElement.SetPropertyValueCommand RadElement.GetPropertyValueCommand RadElement.StyleProperty RadElement.CallCreateChildElements() RadElement.SuspendReferenceUpdate() RadElement.ResumeReferenceUpdate() RadElement.OnLoad(bool) RadElement.LoadCore() RadElement.OnUnload(ComponentThemableElementTree, bool) RadElement.UnloadCore(ComponentThemableElementTree) RadElement.OnUnloaded(ComponentThemableElementTree) RadElement.OnElementTreeChanged(ComponentThemableElementTree) RadElement.OnBeginDispose() RadElement.SetParent(RadElement) RadElement.OnParentChanged(RadElement) RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool) RadElement.ResetLayout(bool) RadElement.HasInvisibleAncestor() RadElement.ResetLayoutCore() RadElement.InvalidateArrange() RadElement.InvalidateArrange(bool) RadElement.InvalidateMeasure() RadElement.InvalidateMeasure(bool) RadElement.UpdateLayout() RadElement.SuspendLayout() RadElement.SuspendLayout(bool) RadElement.ResumeLayout(bool) RadElement.ResumeLayout(bool, bool) RadElement.Arrange(RectangleF) RadElement.Measure(SizeF) RadElement.SetBounds(Rectangle) RadElement.SetBounds(int, int, int, int) RadElement.GetBoundingRectangle(Size) RadElement.GetBoundingRectangle(Rectangle) RadElement.GetDesiredSize(bool) RadElement.PointToScreen(Point) RadElement.PointFromScreen(Point) RadElement.PointToControl(Point) RadElement.PointFromControl(Point) RadElement.LocationToControl() RadElement.RectangleToScreen(Rectangle) RadElement.HitTest(Point) RadElement.OnRenderSizeChanged(SizeChangedInfo) RadElement.OnChildDesiredSizeChanged(RadElement) RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs) RadElement.ArrangeCore(RectangleF) RadElement.MeasureCore(SizeF) RadElement.ShouldArrangeChild(RadElement) RadElement.ShouldMeasureChild(RadElement) RadElement.MeasureChildren(SizeF) RadElement.GetArrangeRect(RectangleF) RadElement.CanExecuteLayoutOperation() RadElement.CalcLayoutOffset(PointF) RadElement.LockBounds() RadElement.UnlockBounds() RadElement.SetBoundsCore(Rectangle) RadElement.IsInValidState(bool) RadElement.Invalidate() RadElement.Invalidate(bool) RadElement.GetInvalidateBounds() RadElement.NotifyInvalidate(RadElement) RadElement.OnTransformationInvalidated() RadElement.PerformLayoutTransformation(ref RadMatrix) RadElement.PerformPaintTransformation(ref RadMatrix) RadElement.IsInGetAsBitmap() RadElement.PaintBackgroundShape(IGraphics) RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF) RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool) RadElement.PaintShadow(RadElement, IGraphics) RadElement.PaintShadowCore(Graphics, Rectangle, RadItem) RadElement.GetShadowRect(ref Rectangle, int) RadElement.PaintFocusCues(IGraphics, Rectangle) RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF) RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF) RadElement.GetAsTransformedBitmap(Brush, float, SizeF) RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF) RadElement.GetAsBitmapEx(Color, float, SizeF) RadElement.GetAsBitmapEx(Brush, float, SizeF) RadElement.GetAsBitmap(Brush, float, SizeF) RadElement.IsInVisibleClipBounds(Rectangle) RadElement.SetClipping(Graphics) RadElement.GetClipRect() RadElement.GetFocusRect() RadElement.GetCurrentShape() RadElement.GetPaintRectangle(float, float, SizeF) RadElement.GetPatchedRect(RectangleF, float, SizeF) RadElement.GetSystemSkinPaintBounds() RadElement.OnUseSystemSkinChanged(EventArgs) RadElement.ShouldPaintSystemSkin() RadElement.ComposeShouldPaintSystemSkin() RadElement.GetStylablePropertiesFilter() RadElement.ResetStyleSettings(bool) RadElement.ResetStyleSettings(bool, RadProperty) RadElement.ProcessBehaviors(RadPropertyChangedEventArgs) RadElement.AddBehavior(PropertyChangeBehavior) RadElement.GetBehaviors() RadElement.RemoveBehavior(PropertyChangeBehavior) RadElement.ClearBehaviors() RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection) RadElement.SetThemeApplied(bool) RadElement.OnStyleChanged(RadPropertyChangedEventArgs) RadElement.UnapplyStyle() RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection) RadElement.RemoveBehaviors(PropertyChangeBehavior) RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection) RadElement.GetThemeEffectiveType() RadElement.GetChildrenByType(Type) RadElement.GetChildrenByBaseType(Type) RadElement.FindAncestorByThemeEffectiveType(Type) RadElement.FindAncestor<T>() RadElement.IsAncestorOf(RadElement) RadElement.FindDescendant<T>() RadElement.FindDescendant(Predicate<RadElement>) RadElement.FindDescendant(Type) RadElement.EnumDescendants(TreeTraversalMode) RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode) RadElement.EnumDescendants(Filter, TreeTraversalMode) RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode) RadElement.GetDescendants(Filter, TreeTraversalMode) RadElement.GetAncestors(Filter) RadElement.GetAncestors(Predicate<RadElement>) RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs) RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs) RadElement.OnTunnelEvent(RadElement, RoutedEventArgs) RadElement.OnBubbleEvent(RadElement, RoutedEventArgs) RadElement.IsEventInProcess(RaisedRoutedEvent) RadElement.RegisterRoutedEvent(string, Type) RadElement.GetRegisterRoutedEvent(string, Type) RadElement.GetRegisterRoutedEvent(string, string) RadElement.GetRegisterRoutedEvent(string) RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation) RadElement.GetChildren(ChildrenListOptions) RadElement.SendToBack() RadElement.BringToFront() RadElement.IsChildOf(RadElement) RadElement.Focus() RadElement.Focus(bool) RadElement.SetFocusPropertySafe(bool) RadElement.KillFocus() RadElement.OnCLREventsRise(RoutedEventArgs) RadElement.OnMouseHover(EventArgs) RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs) RadElement.OnLostMouseCapture(MouseEventArgs) RadElement.OnClick(EventArgs) RadElement.OnDoubleClick(EventArgs) RadElement.OnMouseEnter(EventArgs) RadElement.PerformClick() RadElement.OnMouseWheel(MouseEventArgs) RadElement.DoMouseWheel(MouseEventArgs) RadElement.DoClick(EventArgs) RadElement.DoDoubleClick(EventArgs) RadElement.IsInputKey(InputKeyEventArgs) RadElement.MouseEventArgsFromControl(MouseEventArgs) RadElement.DoMouseDown(MouseEventArgs) RadElement.DoMouseUp(MouseEventArgs) RadElement.DoMouseMove(MouseEventArgs) RadElement.ShowScreenTip(ScreenTipNeededEventArgs) RadElement.HideScreenTip() RadElement.DoMouseHover(EventArgs) RadElement.OnShowScreenTip(ComponentInputBehavior) RadElement.RaiseClick(EventArgs) RadElement.RaiseDoubleClick(EventArgs) RadElement.RaiseMouseWheel(MouseEventArgs) RadElement.UpdateContainsFocus(bool) RadElement.DoMouseEnter(EventArgs) RadElement.DoMouseLeave(EventArgs) RadElement.GetValue(RadProperty) RadElement.AddStylePropertySetting(IPropertySetting) RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource) RadElement.NotifyChildren(RadPropertyChangedEventArgs) RadElement.OnBoundsChanged(RadPropertyChangedEventArgs) RadElement.OnLocationChanged(RadPropertyChangedEventArgs) RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs) RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue) RadElement.IsPropertyCancelable(RadPropertyMetadata) RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs) RadElement.PerformDispose(bool) RadElement.DisposeChildren() RadElement.GetStylableChildrenHierarchy() RadElement.GetStylableChildren() RadElement.GetClientRectangle(SizeF) RadElement.GetBorderThickness(BorderPrimitive) RadElement.DpiScaleChanged(SizeF) RadElement.ElementState RadElement.DesiredSize RadElement.IsLayoutSuspended RadElement.BoundingRectangle RadElement.ControlBoundingRectangle RadElement.BypassLayoutPolicies RadElement.IsArrangeValid RadElement.IsMeasureValid RadElement.TreeLevel RadElement.Transform RadElement.TotalTransform RadElement.ShouldPaintUsingParentShape RadElement.UseSystemSkin RadElement.PropagateStyleToChildren RadElement.ThemeEffectiveType RadElement.ElementTree RadElement.Children RadElement.ChildrenHierarchy RadElement.Parent RadElement.RoutedEventBehaviors RadElement.LayoutableChildrenCount RadElement.ContainsFocus RadElement.NotifyParentOnMouseInput RadElement.IsAbleToRespondToMouseEvents RadElement.AutoSize RadElement.Bounds RadElement.Location RadElement.Size RadElement.BorderThickness RadElement.Padding RadElement.Margin RadElement.Alignment RadElement.AutoSizeMode RadElement.FitToSizeMode RadElement.Enabled RadElement.CanFocus RadElement.IsFocused RadElement.IsMouseOver RadElement.IsMouseOverElement RadElement.IsMouseDown RadElement.InvalidateChildrenOnChildChanged RadElement.ShouldPaint RadElement.Visibility RadElement.IsElementVisible RadElement.Name RadElement.Class RadElement.ClipDrawing RadElement.Shape RadElement.MinSize RadElement.MaxSize RadElement.ZIndex RadElement.RightToLeft RadElement.UseCompatibleTextRendering RadElement.BackgroundShape RadElement.BackgroundShapePaintMode RadElement.ContainsMouse RadElement.Capture RadElement.ScaleTransform RadElement.AngleTransform RadElement.PositionOffset RadElement.SerializeProperties RadElement.SerializeElement RadElement.SerializeChildren RadElement.RenderingMaxFramerate RadElement.IsThemeApplied RadElement.ShouldApplyTheme RadElement.UseCenteredAngleTransform RadElement.Tag RadElement.StretchHorizontally RadElement.StretchVertically RadElement.ClickMode RadElement.DoubleClickEnabled RadElement.CaptureOnMouseDown RadElement.IsItemHovered RadElement.Style RadElement.AutoToolTip RadElement.ScreenTip RadElement.AutoNumberKeyTip RadElement.DpiScaleFactor RadElement.LayoutUpdated RadElement.MouseHover RadElement.MouseMove RadElement.MouseDown RadElement.MouseUp RadElement.Click RadElement.DoubleClick RadElement.MouseEnter RadElement.MouseWheel RadElement.EnabledChanged RadElement.MouseLeave RadElement.ChildrenChanged RadElement.LostMouseCapture RadObject.BindingContextProperty RadObject.RadType RadObject.ClearPropertyStore() RadObject.SuspendPropertyNotifications() RadObject.ResumePropertyNotifications() RadObject.GetPropertyValue(RadProperty) RadObject.SetDefaultValueOverride(RadProperty, object) RadObject.SetValue(RadProperty, object) RadObject.ResetValue(RadProperty) RadObject.ResetLocalValue(RadProperty) RadObject.ResetValue(RadProperty, ValueResetFlags) RadObject.UpdateValue(RadProperty) RadObject.GetValueSource(RadProperty) RadObject.GetRegisteredRadProperty(string) RadObject.UpdateValueCore(RadPropertyValue) RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags) RadObject.GetDefaultValue(RadPropertyValue, object) RadObject.CoerceValue(RadPropertyValue, object) RadObject.ShouldSerializeProperty(RadProperty) RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions) RadObject.UnbindProperty(RadProperty) RadObject.GetInheritedValue(RadProperty) RadObject.OnNotifyPropertyChanged(string) RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs) RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs) RadObject.PropertyValues RadObject.PropertyFilter RadObject.RadObjectType RadObject.BindingContext RadObject.PropertyChanged RadObject.RadPropertyChanged RadObject.RadPropertyChanging DisposableObject.GetBitState(long) DisposableObject.SetBitState(long, bool) DisposableObject.OnBitStateChanged(long, bool, bool) DisposableObject.Dispose() DisposableObject.Dispose(bool) DisposableObject.DisposeUnmanagedResources() DisposableObject.BitState DisposableObject.Events DisposableObject.IsDisposing DisposableObject.IsDisposed DisposableObject.Disposed DisposableObject.Disposing Show more
Declaration
public RadScrollBarElement ( )
Declaration
public const ScrollType DefaultScrollType = Horizontal
Field Value
ScrollType
Identifies the GradientAngleCorrection dependency property.
Declaration
public static readonly RadProperty GradientAngleCorrectionProperty
Field Value
RadProperty
Gets or sets the default height for horizontal scroll bars.
Declaration
public static int HorizontalScrollBarHeight
Field Value
int
Identifies the IsMouseOverScrollBar dependency property.
Declaration
public static readonly RadProperty IsMouseOverScrollBarProperty
Field Value
RadProperty
Identifies the MinThumbLength dependency property.
Declaration
public static readonly RadProperty MinThumbLengthProperty
Field Value
RadProperty
Identifies the Pressed dependency property.
Declaration
public static readonly RadProperty PressedProperty
Field Value
RadProperty
Identifies the ScrollType dependency property.
Declaration
public static readonly RadProperty ScrollTypeProperty
Field Value
RadProperty
Identifies the ThumbLengthProportion dependency property.
Declaration
public static readonly RadProperty ThumbLengthProportionProperty
Field Value
RadProperty
Gets or sets the default width for vertical scroll bars.
Declaration
public static int VerticalScrollBarWidth
Field Value
int
Declaration
public BorderPrimitive BorderElement { get ; }
Property Value
BorderPrimitive
Indicates whether invalid values should be clamped or an exception should be thrown
Declaration
public bool ClampValue { get ; set ; }
Property Value
bool
Declaration
public FillPrimitive FillElement { get ; }
Property Value
FillPrimitive
Gets the first button element of this scrollbar
Declaration
public ScrollBarButton FirstButton { get ; }
Property Value
ScrollBarButton
Controls the angle that the fill primitive will be rotated when switching from horizontal to vertical orientation
Declaration
public float GradientAngleCorrection { get ; set ; }
Property Value
float
Gets or sets a value to be added to or subtracted from the
Value property when the scroll
thumb is moved a large distance.
Declaration
public int LargeChange { get ; set ; }
Property Value
int
A numeric value. The default value is 10.
Remarks
When the user presses the PAGE UP or PAGE DOWN key, clicks in the scroll bar
track on either side of the scroll thumb, or calls one of the PageXXX() functions, the
Value property changes according to the value set in the LargeChange
property.
Gets or sets the upper limit of the scrollable range.
Declaration
public int Maximum { get ; set ; }
Property Value
int
A numeric value. The default value is 100.
Remarks
NOTE: The value of a scroll bar cannot reach its maximum value through user
interaction at run time. The maximum value that can be reached is equal to the
Maximum property value minus the
LargeChange property
value plus 1. The maximum value can only be reached programmatically.
Gets or sets the minimum length of the scrolling thumb. See
ThumbLength for more information about thumb length.
Declaration
public int MinThumbLength { get ; set ; }
Property Value
int
An integer value that gives the minimum thumb length. It is taken into account no
matter if the thumb length is calculated automatically or the thumb length is set
explicitly.
The thumb length could be smaller than MinThumbLength if there is no space in the scroll bar.
Gets or sets the lower limit for the values of the scrollable range.
Declaration
public int Minimum { get ; set ; }
Property Value
int
A numeric value. The default value is 0.
Gets or sets the scroll timer delay
Declaration
[ Browsable ( false ) ]
public int ScrollTimerDelay { get ; set ; }
Property Value
int
Gets or sets the ScrollType - it could be horizontal
or vertical.
Declaration
public ScrollType ScrollType { get ; set ; }
Property Value
ScrollType
Gets the second button element of this scrollbar
Declaration
public ScrollBarButton SecondButton { get ; }
Property Value
ScrollBarButton
Gets or sets the value to be added to or subtracted from the
Value property when the scroll thumb is moved a small distance.
Declaration
public int SmallChange { get ; set ; }
Property Value
int
A numeric value. The default value is 1.
Remarks
When the user presses one of the arrow keys, clicks one of the scroll bar
buttons or calls one of the LineXXX() functions, the Value property changes
according to the value set in the SmallChange property.
Gets the thumb element of this scrollbar
Declaration
[ Browsable ( false ) ]
public ScrollBarThumb ThumbElement { get ; }
Property Value
ScrollBarThumb
Gets the length of the scrolling thumb. Thumb length is the thumb's height
for vertical scroll bar and the thumb's width for horizontal scroll bar.
Declaration
public int ThumbLength { get ; }
Property Value
int
Gets or sets a value between 0.0 and 1.0 that indicates what part of the scrollable area
can be occupied by the thumb. If the value is 0.0 then the thumb should be with length 0
but the property MinThumbLength will cause the thumb to be larger.
If the value is 1.0 the thumb takes the whole area between the two scrolling buttons.
Negative value means that the thumb length should be calculated automatically based on
Minimum, Maximum and LargeChange values.
Declaration
public double ThumbLengthProportion { get ; set ; }
Property Value
double
Gets or sets a numeric value that represents the current position of the scroll thumb on
the scroll bar.
Declaration
public int Value { get ; set ; }
Property Value
int
A numeric value that is within the Minimum and
Maximum range. The default value is 0.
Arranges the RadElement to its final location.
The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride ( SizeF finalSize)
Parameters
SizeF
The size that is available for element.
Returns
SizeF
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
RadElement.ArrangeOverride(SizeF)
Remarks
In this method call to the Arrange method of each child must be made.
Called by the element when constructed. Allows inheritors to build the element tree.
Releases managed resources used by this element.
Retrieves the srolling parameters.
Gets the Vista visual style element for this scroll bar.
Gets the XP visual style element for this scroll bar.
Initializes the fields of this instance with their default values.
Performs initialization when the element is first-time painted using system skin.
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride ( SizeF availableSize)
Parameters
SizeF
The size that is available to the RadElement . The available size can be infinity (to take the full size of the element)
Returns
SizeF
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
RadElement.MeasureOverride(SizeF)
Remarks
In this method call to the Measure method of each child must be made.
Called when the element has been successfully loaded. That includes loading of all its children as well.
Called when a mouse button is pressed down over the item.
Called when a mouse button is released over the item.
Fires the PanGesture event.
Called when a property value has changed, handling item-specific property change logic including text, visual state, and animation properties.
Declaration
protected virtual void OnScroll ( ScrollEventArgs args)
Parameters
ScrollEventArgs
Declaration
protected virtual void OnScrollParameterChanged ( )
Declaration
protected virtual void OnValueChanged ( )
Declaration
protected virtual void OnValueChanged ( int oldValue, int newValue)
Parameters
int
int
Provides a routine to paint element's content when system skin appearance is desired.
Declaration
protected virtual void PaintHorizontalVisualStylesElements ( )
Declaration
protected virtual void PaintVerticalVisualStyleElements ( )
Simulate scrolling with positioning the thumb on its first position.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformFirst ( )
Simulate scrolling - just like the top / left area according the thumb is pressed.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformLargeDecrement ( int numSteps)
Parameters
int
Value is decremented with (numSteps * LargeChange)
Simulate scrolling - just like the bottom / right area according the thumb is pressed.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformLargeIncrement ( int numSteps)
Parameters
int
Value is incremented with (numSteps * LargeChange)
Simulate scrolling with positioning the thumb on its last position.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformLast ( )
Scrolls just like the thumb is dragged at given position
Declaration
public void PerformScrollTo ( Point position)
Parameters
Point
Position of the thumb (in screen coordinates).
Simulate scrolling - just like the top / left button is pressed.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformSmallDecrement ( int numSteps)
Parameters
int
Value is decremented with (numSteps * SmallChange)
Simulate scrolling - just like the bottom / right button is pressed.
Unlike setting property Value this function fires scrolling events.
Declaration
public void PerformSmallIncrement ( int numSteps)
Parameters
int
Value is incremented with (numSteps * SmallChange)
Sets the given scroll parameters.
Declaration
public void SetParameters ( ScrollBarParameters parameters)
Parameters
ScrollBarParameters
Performs cleanup when system skin painting is no longer used.
Occurs when the scroll thumb has been moved by either a mouse or keyboard
action.
Occurs when a property that affects the scrolling is changed.
See ScrollBarParameters for more information on which properties affect the scrolling.
Declaration
public event EventHandler ScrollParameterChanged
Event Value
EventHandler
Occurs when the Value property is changed, either by a
Scroll event or programmatically.
Declaration
public event EventHandler ValueChanged
Event Value
EventHandler