menu

WinForms

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

    Show / Hide Table of Contents

    Class ThemedScrollButton

    Draws a themed scroll button.

    Inheritance
    System.Object
    BaseControl
    ThemedControl
    ThemedButtonBase
    ThemedScrollButton
    Implements
    IThemeProvider
    IVisualStyle
    System.IDisposable
    Inherited Members
    BaseControl.CanApplyTheme
    BaseControl.CanOverrideStyle
    BaseControl.ControlName
    BaseControl.GetActiveThemeName()
    BaseControl.GetControlName(String)
    BaseControl.IsVisualStyleEnabled
    BaseControl.IThemeProvider.BaseThemeName
    BaseControl.IVisualStyle.VisualTheme
    BaseControl.OnCanApplyThemeChanged(Boolean)
    BaseControl.OnCanOverrideStyleChanged(Boolean)
    BaseControl.OnThemeNameChanged(String)
    BaseControl.RaiseThemeChanged(Object, ThemeChangedEventArgs)
    BaseControl.ThemeName
    BaseControl.ThemeNameChanged
    ThemedButtonBase.cd
    ThemedButtonBase.CheckState
    ThemedButtonBase.CheckStateChanged
    ThemedButtonBase.DefaultButtonState
    ThemedButtonBase.DrawControlText(Graphics)
    ThemedButtonBase.DrawImage(Graphics, ButtonState, CheckState)
    ThemedButtonBase.DrawText
    ThemedButtonBase.FlatColor
    ThemedButtonBase.Image
    ThemedButtonBase.ImageChanged
    ThemedButtonBase.mouseOver
    ThemedButtonBase.office2007ColorTable
    ThemedButtonBase.Office2007Theme
    ThemedButtonBase.office2010ColorTable
    ThemedButtonBase.Office2010Theme
    ThemedButtonBase.OnCheckStateChanged(EventArgs)
    ThemedButtonBase.OnImageChanged()
    ThemedButtonBase.OnMouseDown(MouseEventArgs)
    ThemedButtonBase.OnMouseMove(MouseEventArgs)
    ThemedButtonBase.OnPaint(PaintEventArgs)
    ThemedButtonBase.OnParentBackColorChanged(EventArgs)
    ThemedButtonBase.OnStretchImageChanged()
    ThemedButtonBase.StretchImage
    ThemedButtonBase.StretchImageChanged
    ThemedButtonBase.Style
    ThemedButtonBase.TextAlign
    ThemedControl.OnThemeChanged(EventArgs)
    ThemedControl.ThemeChanged
    ThemedControl.ThemesEnabled
    ThemedControl.WndProc(Message)
    Namespace: Syncfusion.Windows.Forms
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ThemedScrollButton : ThemedButtonBase, IThemeProvider, IVisualStyle, IDisposable

    Constructors

    ThemedScrollButton()

    Initializes a new object.

    Declaration
    public ThemedScrollButton()

    Properties

    ArrowColor

    Declaration
    public virtual Color ArrowColor { get; set; }
    Property Value
    Type
    System.Drawing.Color

    ButtonType

    Gets / sets the type of scroll arrow.

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

    Transparent

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

    Methods

    Dispose(Boolean)

    Disposes all resources being used.

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

    DrawNotThemedControl(Graphics, ButtonState, CheckState)

    Declaration
    protected override void DrawNotThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Windows.Forms.ButtonState buttonState
    System.Windows.Forms.CheckState checkState
    Overrides
    ThemedButtonBase.DrawNotThemedControl(Graphics, ButtonState, CheckState)

    DrawStyledControl(Graphics, ButtonState, CheckState)

    Declaration
    protected override void DrawStyledControl(Graphics g, ButtonState buttonState, CheckState checkState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Windows.Forms.ButtonState buttonState
    System.Windows.Forms.CheckState checkState
    Overrides
    ThemedButtonBase.DrawStyledControl(Graphics, ButtonState, CheckState)

    DrawThemedControl(Graphics, ButtonState, CheckState)

    Declaration
    protected override void DrawThemedControl(Graphics g, ButtonState buttonState, CheckState checkState)
    Parameters
    Type Name Description
    System.Drawing.Graphics g
    System.Windows.Forms.ButtonState buttonState
    System.Windows.Forms.CheckState checkState
    Overrides
    ThemedButtonBase.DrawThemedControl(Graphics, ButtonState, CheckState)

    GetBackColor(ButtonState)

    Returns the color for paint control background.

    Declaration
    protected virtual Color GetBackColor(ButtonState buttonState)
    Parameters
    Type Name Description
    System.Windows.Forms.ButtonState buttonState
    Returns
    Type
    System.Drawing.Color

    GetBackGroundBrush(ButtonState)

    Declaration
    protected virtual Brush GetBackGroundBrush(ButtonState buttonState)
    Parameters
    Type Name Description
    System.Windows.Forms.ButtonState buttonState
    Returns
    Type
    System.Drawing.Brush

    GetBorderPen(ButtonState)

    Declaration
    protected virtual Pen GetBorderPen(ButtonState buttonState)
    Parameters
    Type Name Description
    System.Windows.Forms.ButtonState buttonState
    Returns
    Type
    System.Drawing.Pen

    Implements

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