C# Class ComponentFactory.Krypton.Toolkit.ViewDrawTP

Draw the track for the track bar.
Inheritance: ViewComposite
显示文件 Open project: ComponentFactory/Krypton Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Layout ( ViewLayoutContext context ) : void

Perform a layout of the elements.

NearestValueFromPoint ( Point pt ) : int

Find nearest value given the mouse postion within track area.

SetFixedState ( PaletteState state ) : void

Fix the control to a particular palette state.

ToString ( ) : string

Obtains the String representation of this instance.

ViewDrawTP ( ViewDrawTrackBar drawTrackBar ) : System

Initialize a new instance of the ViewDrawTrackPosition class.

Method Details

Layout() public method

Perform a layout of the elements.
public Layout ( ViewLayoutContext context ) : void
context ViewLayoutContext Layout context.
return void

NearestValueFromPoint() public method

Find nearest value given the mouse postion within track area.
public NearestValueFromPoint ( Point pt ) : int
pt Point Mouse position,
return int

SetFixedState() public method

Fix the control to a particular palette state.
public SetFixedState ( PaletteState state ) : void
state PaletteState Palette state to fix.
return void

ToString() public method

Obtains the String representation of this instance.
public ToString ( ) : string
return string

ViewDrawTP() public method

Initialize a new instance of the ViewDrawTrackPosition class.
public ViewDrawTP ( ViewDrawTrackBar drawTrackBar ) : System
drawTrackBar ViewDrawTrackBar Reference to owning track bar.
return System