[]
Represents the FarPoint slider (track bar) control.
public class FpSlider : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Public Class FpSlider
Inherits Control
Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Name | Description |
---|---|
FpSlider() | Creates a new FarPoint slider (track bar) control. |
Name | Description |
---|---|
theme | Internal use only. Theme for visual styles. |
Name | Description |
---|---|
BackgroundImage | Gets or sets the background image for the slider. |
ChangeOnFocus | Gets or sets whether the slider knob moves when intially clicking on the track. |
KnobColor | Gets or sets the color of the knob of the slider. |
KnobPicture | Gets or sets the picture that displays on the knob of the slider. |
KnobWidth | Gets or sets the width of the knob of the slider. |
Maximum | Gets or sets the maximum value for the slider. |
Minimum | Gets or sets the minimum value for the slider. |
Orientation | Gets or sets the orientation of the slider. |
Text | Gets or sets the value as a string |
TickColor | Gets or sets the color of the tick marks in the slider. |
TickLength | Gets or sets the width of the ticks of the slider. |
TickSpacing | Gets or sets how frequently to space the tick marks in the slider. |
TrackColor | Gets or sets the color of the track in the slider. |
TrackPicture | Gets or sets the picture displayed inside the track area of the slider. |
TrackWidth | Gets or sets the width of the track of the slider. |
Value | Gets or sets the value in the slider. |
VisualStyles | Gets or sets whether to use visual styles. |
Name | Description |
---|---|
Dispose(bool) | |
DoPaint(Graphics, Rectangle, Color, Color, int, bool, Color, SliderOrientation, int, int, int, Picture, int, int, Picture, Color, Picture, bool, bool, bool, VisualStyles, Color, bool, int) | Paints the slider control. |
GetPreferredSize(SliderOrientation, int, int, int) | Gets the size needed to display the entire slider with the specified orientation and values. |
IsPointInKnob(int, int, Rectangle, int, SliderOrientation, int, int, int, int, int) | Determines whether the point is in the knob of the slider. |
OnAfterFocus(EventArgs) | Raises the AfterFocus event. |
OnBackgroundImageChanged(object, EventArgs) | Occurs if the background picture changes. |
OnError(EventArgs) | Raises the Error event. |
OnGotFocus(EventArgs) | Raises the System.Windows.Forms.Control.GotFocus event. |
OnThemeChanged(object, EventArgs) | Handles the ThemeChanged event for the VisualStyleTheme |
OnValueChanged(EventArgs) | Raises the ValueChanged event. |
Name | Description |
---|---|
AfterFocus | Occurs after the control receives focus. |
Error | Occurs when an error occurs. |
ValueChanged | Occurs when the user moves the slider and changes the value. |