Class OTZSlider
OTZ スライダーコントロールの機能を提供します。
Implements
Inherited Members
名前空間: OTZControls.Controls
アセンブリ: OTZControls.dll
Syntax
public class OTZSlider : OTZControlBase, IOTZControl
コンストラクタ
OTZSlider()
コンストラクタ
宣言
public OTZSlider()
プロパティ
Maximum
移動可能な範囲の最大値を取得または設定します。
宣言
public int Maximum { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Int32 |
Minimum
最小値を取得または設定します。
宣言
public int Minimum { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Int32 |
ShowToolTip
ツールチップを表示するかどうかを取得または設定します。
宣言
public bool ShowToolTip { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Boolean |
SliderOrientation
スライダーコントロールの方向を取得または設定します。
宣言
public OTZSliderOrientationType SliderOrientation { get; set; }
プロパティ値
型 | 説明 |
---|---|
OTZSliderOrientationType | スライダーコントロールの方向。 |
SliderThumbStyle
スライダーコントロールのサムの形を指定します。
宣言
public OTZSliderThumbStyleType SliderThumbStyle { get; set; }
プロパティ値
型 | 説明 |
---|---|
OTZSliderThumbStyleType |
Value
つまみの値を取得または設定します。
宣言
public int Value { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Int32 |
メソッド
OnGotFocus(EventArgs)
宣言
protected override void OnGotFocus(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e |
OnKeyDown(KeyEventArgs)
KeyDown イベントを発生させます。
宣言
protected override void OnKeyDown(KeyEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
KeyEventArgs | e |
OnKeyPress(KeyPressEventArgs)
宣言
protected override void OnKeyPress(KeyPressEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
KeyPressEventArgs | e |
OnLostFocus(EventArgs)
宣言
protected override void OnLostFocus(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e |
OnMouseDown(MouseEventArgs)
MouseDown イベントを発生させます。
宣言
protected override void OnMouseDown(MouseEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
MouseEventArgs | e |
オーバーライド
OnMouseDownMove(MouseEventArgs)
MouseDownMove イベントを発生させます。
宣言
protected virtual void OnMouseDownMove(MouseEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
MouseEventArgs | e | イベントデータ |
OnMouseLeave(EventArgs)
MouseLeave イベントを発生させます。
宣言
protected override void OnMouseLeave(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e |
OnMouseMove(MouseEventArgs)
MouseMove イベントを発生させます。
宣言
protected override void OnMouseMove(MouseEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
MouseEventArgs | e |
OnMouseUp(MouseEventArgs)
MouseUp イベントを発生させます。
宣言
protected override void OnMouseUp(MouseEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
MouseEventArgs | e |
オーバーライド
OnMouseWheel(MouseEventArgs)
MouseWheel イベントを発生させます。
宣言
protected override void OnMouseWheel(MouseEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
MouseEventArgs | e |
OnPaint(PaintEventArgs)
Paint イベントを発生させます。
宣言
protected override void OnPaint(PaintEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
PaintEventArgs | e |
OnPreviewKeyDown(PreviewKeyDownEventArgs)
PreviewKeyDown イベントを発生させます。
宣言
protected override void OnPreviewKeyDown(PreviewKeyDownEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
PreviewKeyDownEventArgs | e |
OnResize(EventArgs)
Resize イベントを発生させます。
宣言
protected override void OnResize(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e |
OnValueChanged(EventArgs)
ValueChanged イベントを発生させます。
宣言
protected virtual void OnValueChanged(EventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
EventArgs | e | イベントデータ |
イベント
MouseDownMove
マウスのボタンを押して移動すると発生します。
宣言
public event MouseEventHandler? MouseDownMove
Event Type
型 | 説明 |
---|---|
System.Nullable<MouseEventHandler> |
ValueChanged
Value プロパティの値が変化したときに発生します。
宣言
public event EventHandler? ValueChanged
Event Type
型 | 説明 |
---|---|
System.Nullable<EventHandler> |