Class OTZEditorScrollBar
OTZ エディタ用のスクロールバーコントロールの機能を提供します。
Implements
Inherited Members
名前空間: OTZControls.Controls
アセンブリ: OTZControls.dll
Syntax
public class OTZEditorScrollBar : OTZScrollBar, IOTZControl
コンストラクタ
OTZEditorScrollBar()
コンストラクタ
宣言
public OTZEditorScrollBar()
OTZEditorScrollBar(ScrollOrientation)
コンストラクタ
宣言
public OTZEditorScrollBar(ScrollOrientation scrollOrientation)
パラメーター
型 | 名前 | 説明 |
---|---|---|
ScrollOrientation | scrollOrientation | 作成するスクロール バーの方向を指定します。 |
プロパティ
CaretPositionColor
キャレットの表示位置の色を取得または設定します。
宣言
public Color CaretPositionColor { get; set; }
プロパティ値
型 | 説明 |
---|---|
Color |
CaretPositionY
キャレットの表示位置を取得または設定します。 垂直スクロールバーの場合のみ有効です。
宣言
[Browsable(false)]
public int CaretPositionY { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Int32 |
ShowCaretPosition
キャレットの位置を表示するかどうかを示す値を取得または設定します。 垂直スクロールバーの場合のみ有効です。
宣言
public bool ShowCaretPosition { get; set; }
プロパティ値
型 | 説明 |
---|---|
System.Boolean |
メソッド
OnPaint(PaintEventArgs)
Paint イベントを発生させます。
宣言
protected override void OnPaint(PaintEventArgs e)
パラメーター
型 | 名前 | 説明 |
---|---|---|
PaintEventArgs | e |