menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ScrollButtons - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ScrollButtons

    Inheritance
    System.Object
    BaseControl
    ThemedControl
    ScrollButtons
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    Inherited Members
    BaseControl.CanApplyTheme
    BaseControl.CanOverrideStyle
    BaseControl.ControlName
    BaseControl.GetActiveThemeName()
    BaseControl.IsVisualStyleEnabled
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.ThemeName
    BaseControl.ThemeNameChanged
    ThemedControl.OnThemeChanged(EventArgs)
    ThemedControl.ThemeChanged
    ThemedControl.ThemesEnabled
    ThemedControl.WndProc(Message)
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ScrollButtons : ThemedControl, IThemeProvider, IVisualStyle, IDisposable

    Constructors

    ScrollButtons()

    Declaration
    public ScrollButtons()

    Fields

    m_arrowColor

    Declaration
    protected Color m_arrowColor
    Field Value
    Type
    System.Drawing.Color

    m_office2007ColorTable

    Declaration
    protected Office2007Colors m_office2007ColorTable
    Field Value
    Type
    Office2007Colors

    m_office2010ColorTable

    Declaration
    protected Office2010Colors m_office2010ColorTable
    Field Value
    Type
    Office2010Colors

    Properties

    BackGroundBrush

    Declaration
    public Brush BackGroundBrush { get; set; }
    Property Value
    Type
    System.Drawing.Brush

    ButtonState

    Declaration
    public ButtonState ButtonState { get; set; }
    Property Value
    Type
    System.Windows.Forms.ButtonState

    GradientInflateOffset

    Gets / sets for correctly GradientBrush creation, so that background is same as Parent's background.

    Declaration
    public int GradientInflateOffset { get; set; }
    Property Value
    Type
    System.Int32

    IsReverseGradient

    Declaration
    public bool IsReverseGradient { get; set; }
    Property Value
    Type
    System.Boolean

    MaxButtonActive

    Declaration
    public bool MaxButtonActive { get; set; }
    Property Value
    Type
    System.Boolean

    MinButtonActive

    Declaration
    public bool MinButtonActive { get; set; }
    Property Value
    Type
    System.Boolean

    Office2007ColorScheme

    Declaration
    public Office2007Theme Office2007ColorScheme { get; set; }
    Property Value
    Type
    Office2007Theme

    Office2010ColorScheme

    Declaration
    public Office2010Theme Office2010ColorScheme { get; set; }
    Property Value
    Type
    Office2010Theme

    ScrollButtonAppearance

    Declaration
    public ScrollButtonAppearance ScrollButtonAppearance { get; set; }
    Property Value
    Type
    ScrollButtonAppearance

    Selected

    Gets / sets ScrollButton highlighted state.

    Declaration
    public bool Selected { get; set; }
    Property Value
    Type
    System.Boolean

    Style

    Declaration
    public VisualStyle Style { get; set; }
    Property Value
    Type
    VisualStyle

    ThemeStyle

    Gets or sets the ScrollButtonsVisualStyle value used to customize the appearance of the .

    Declaration
    public ScrollButtonsVisualStyle ThemeStyle { get; set; }
    Property Value
    Type
    ScrollButtonsVisualStyle
    Remarks

    This ThemeStyle settings will be applied only when the VisualStyleBased theme has been applied to the control.

    Tracking

    Declaration
    public ButtonID Tracking { get; set; }
    Property Value
    Type
    ButtonID

    VSLikeButton

    Declaration
    public bool VSLikeButton { get; set; }
    Property Value
    Type
    System.Boolean

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    DrawOffice2007ScrollButtonArrow(Graphics, Rectangle, ScrollButton, ButtonState)

    Declaration
    protected virtual void DrawOffice2007ScrollButtonArrow(Graphics g, Rectangle rect, ScrollButton scroll, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ScrollButton scroll
    System.Windows.Forms.ButtonState buttonState

    DrawOffice2007ScrollButtonBackground(Graphics, Rectangle, ButtonState)

    Declaration
    protected virtual void DrawOffice2007ScrollButtonBackground(Graphics g, Rectangle rect, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ButtonState buttonState

    DrawOffice2010ScrollButtonArrow(Graphics, Rectangle, ScrollButton, ButtonState)

    Declaration
    protected virtual void DrawOffice2010ScrollButtonArrow(Graphics g, Rectangle rect, ScrollButton scroll, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ScrollButton scroll
    System.Windows.Forms.ButtonState buttonState

    DrawOffice2010ScrollButtonBackground(Graphics, Rectangle, ButtonState)

    Declaration
    protected virtual void DrawOffice2010ScrollButtonBackground(Graphics g, Rectangle rect, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ButtonState buttonState

    DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)

    Declaration
    protected virtual void DrawScrollButton(Graphics g, Rectangle rect, ScrollButton scroll, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ScrollButton scroll
    System.Windows.Forms.ButtonState buttonState

    DrawScrollImage(Graphics, Rectangle, Image)

    Declaration
    protected void DrawScrollImage(Graphics g, Rectangle rect, Image image)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Drawing.Image image

    DrawTriangle(Graphics, Point[], Boolean)

    Declaration
    protected void DrawTriangle(Graphics g, Point[] bounds, bool fill)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Point[] bounds
    System.Boolean fill

    DrawVSLikeButtonArrow(Graphics, Rectangle, ScrollButton, Color, ButtonState)

    Declaration
    protected virtual void DrawVSLikeButtonArrow(Graphics g, Rectangle rect, ScrollButton scroll, Color arrowColor, ButtonState buttonState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Drawing.Rectangle rect
    System.Windows.Forms.ScrollButton scroll
    System.Drawing.Color arrowColor
    System.Windows.Forms.ButtonState buttonState

    GetButtonRect(ButtonID)

    Declaration
    protected virtual Rectangle GetButtonRect(ButtonID buttonID)
    Parameters
    Type Name Description
    ButtonID buttonID
    Returns
    Type
    System.Drawing.Rectangle

    GetControlName(String)

    Helps to apply the ControlName settings in control

    Declaration
    public override string GetControlName(string controlName)
    Parameters
    Type Name Description
    System.String controlName
    Returns
    Type
    System.String
    Overrides
    BaseControl.GetControlName(String)

    OnAlignmentChanged()

    Declaration
    protected virtual void OnAlignmentChanged()

    OnCanApplyThemeChanged(Boolean)

    Helps to apply the CanApplyTheme settings in control

    Declaration
    public override void OnCanApplyThemeChanged(bool canApplyTheme)
    Parameters
    Type Name Description
    System.Boolean canApplyTheme
    Overrides
    BaseControl.OnCanApplyThemeChanged(Boolean)

    OnCanOverrideStyleChanged(Boolean)

    Helps to apply the CanOverriderStyle settings in control

    Declaration
    public override void OnCanOverrideStyleChanged(bool canOverriderStyle)
    Parameters
    Type Name Description
    System.Boolean canOverriderStyle
    Overrides
    BaseControl.OnCanOverrideStyleChanged(Boolean)

    OnHandleCreated(EventArgs)

    Declaration
    protected override void OnHandleCreated(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnHandleDestroyed(EventArgs)

    Declaration
    protected override void OnHandleDestroyed(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseDown(MouseEventArgs)

    Declaration
    protected override void OnMouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseLeave(EventArgs)

    Declaration
    protected override void OnMouseLeave(EventArgs e)
    Parameters
    Type Name Description
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    Declaration
    protected override void OnMouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    Declaration
    protected override void OnMouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnPaint2D(PaintEventArgs)

    Declaration
    protected virtual void OnPaint2D(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnPaint3D(PaintEventArgs)

    Declaration
    protected virtual void OnPaint3D(PaintEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs e

    OnThemeNameChanged(String)

    Helps to apply the ThemeName settings in control

    Declaration
    public override void OnThemeNameChanged(string themeName)
    Parameters
    Type Name Description
    System.String themeName

    ThemeName

    Overrides
    BaseControl.OnThemeNameChanged(String)

    OnUpDown(UpDownEventArgs)

    Declaration
    protected virtual void OnUpDown(UpDownEventArgs upevent)
    Parameters
    Type Name Description
    System.Windows.Forms.UpDownEventArgs upevent

    StartTimer()

    Declaration
    protected void StartTimer()

    StopTimer()

    Declaration
    protected void StopTimer()

    Events

    UpDown

    Declaration
    public event UpDownEventHandler UpDown
    Event Type
    Type
    System.Windows.Forms.UpDownEventHandler

    Implements

    IThemeProvider
    IVisualStyle
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved