Click or drag to resize

ThemedStepperHandler Class

Themed version of the Stepper control for platforms that have no support for such a control.
Inheritance Hierarchy
SystemObject
  EtoWidgetHandlerStepper
    EtoWidgetHandlerPanel, Stepper
      EtoWidgetHandlerPanel, Stepper, StepperICallback
        Eto.FormsThemedControlHandlerPanel, Stepper, StepperICallback
          Eto.Forms.ThemedControlsThemedStepperHandler

Namespace:  Eto.Forms.ThemedControls
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class ThemedStepperHandler : ThemedControlHandler<Panel, Stepper, StepperICallback>, 
	StepperIHandler, ControlIHandler, WidgetIHandler

The ThemedStepperHandler type exposes the following members.

Constructors
  NameDescription
Public methodThemedStepperHandler
Initializes a new instance of the ThemedStepperHandler
Top
Properties
  NameDescription
Public propertyDownText
Gets or sets the text for the down/decrease button
Public propertyEnabled
Gets or sets a value indicating that the control is enabled
(Overrides ThemedControlHandlerTControl, TWidget, TCallbackEnabled.)
Public propertyFont
Gets or sets the font for the text in the buttons
Public propertyOrientation
Gets or sets the orientation of the stepper
Public propertyUpText
Gets or sets the text for the up/increase button
Public propertyValidDirection
Gets or sets the valid directions for the stepper
Top
Methods
Remarks
Currently used for Gtk and WinForms. Mac and Wpf Toolkit have controls that have this functionality. To use this implementation for all platforms, add this before you start your app:
Platform.Detect.Add>Stepper.IHandler<(() => new Eto.Forms.ThemedControls.ThemedStepperHandler());
See Also