Search Results for

    Show / Hide Table of Contents

    Class OTZNumberBox

    OTZ ナンバーボックスコントロールの機能を提供します。

    Inheritance
    System.Object
    OTZControlBase
    OTZNumberBox
    Implements
    IOTZControl
    IOTZCaret
    Inherited Members
    OTZControlBase.Control
    OTZControlBase.IsScalingRequired
    OTZControlBase.ColorTable
    OTZControlBase.Theme
    OTZControlBase.MouseDownPosition
    OTZControlBase.IsMouseLeftButtonDown
    OTZControlBase.IsMouseActivate
    OTZControlBase.ScaleControl(SizeF, BoundsSpecified)
    OTZControlBase.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)
    名前空間: OTZControls.Controls
    アセンブリ: OTZControls.dll
    Syntax
    public class OTZNumberBox : OTZControlBase, IOTZControl, IOTZCaret

    コンストラクタ

    OTZNumberBox()

    コンストラクタ

    宣言
    public OTZNumberBox()

    プロパティ

    DecimalPlaces

    小数部の桁数を取得または設定します。

    宣言
    public int DecimalPlaces { get; set; }
    プロパティ値
    型 説明
    System.Int32

    DefaultSize

    宣言
    protected override Size DefaultSize { get; }
    プロパティ値
    型 説明
    Size

    Increment

    増分または減分する値を取得または設定します。

    宣言
    public decimal Increment { get; set; }
    プロパティ値
    型 説明
    System.Decimal

    IsWindow

    宣言
    protected override bool IsWindow { get; }
    プロパティ値
    型 説明
    System.Boolean
    オーバーライド
    OTZControlBase.IsWindow

    Maximum

    スピンボックスの最大値を取得または設定します。

    宣言
    public decimal Maximum { get; set; }
    プロパティ値
    型 説明
    System.Decimal

    MaximumSize

    サイズを変更する場合の最大サイズを取得します。

    宣言
    public override Size MaximumSize { get; set; }
    プロパティ値
    型 説明
    Size

    Minimum

    スピンボックスの最小値を取得または設定します。

    宣言
    public decimal Minimum { get; set; }
    プロパティ値
    型 説明
    System.Decimal

    MinimumSize

    サイズを変更する場合の最小サイズを取得します。

    宣言
    public override Size MinimumSize { get; set; }
    プロパティ値
    型 説明
    Size

    PreferredHeight

    宣言
    public int PreferredHeight { get; }
    プロパティ値
    型 説明
    System.Int32

    ThousandsSeparator

    桁区切り記号を表示するかどうかを示す値を取得または設定します。

    宣言
    public bool ThousandsSeparator { get; set; }
    プロパティ値
    型 説明
    System.Boolean

    Value

    入力された値を取得します。

    宣言
    public decimal Value { get; set; }
    プロパティ値
    型 説明
    System.Decimal

    メソッド

    GetPreferredSize(Size)

    コントロールが収まる四角形の領域のサイズを取得します。

    宣言
    public override Size GetPreferredSize(Size proposedConstraints)
    パラメーター
    型 名前 説明
    Size proposedConstraints
    戻り値
    型 説明
    Size

    OnDpiChangedAfterParent(EventArgs)

    宣言
    protected override void OnDpiChangedAfterParent(EventArgs e)
    パラメーター
    型 名前 説明
    System.EventArgs e

    OnFontChanged(EventArgs)

    Raises the FontChanged event.

    宣言
    protected override void OnFontChanged(EventArgs e)
    パラメーター
    型 名前 説明
    System.EventArgs e

    OnGotFocus(EventArgs)

    GotFocusHandler イベントを発生させます。

    宣言
    protected override void OnGotFocus(EventArgs e)
    パラメーター
    型 名前 説明
    System.EventArgs e

    OnKeyDown(KeyEventArgs)

    KeyDown イベントを発生させます。

    宣言
    protected override void OnKeyDown(KeyEventArgs e)
    パラメーター
    型 名前 説明
    KeyEventArgs e

    OnKeyPress(KeyPressEventArgs)

    KeyPress イベントを発生させます。

    宣言
    protected override void OnKeyPress(KeyPressEventArgs e)
    パラメーター
    型 名前 説明
    KeyPressEventArgs e

    OnLostFocus(EventArgs)

    LostFocusHandler イベントを発生させます。

    宣言
    protected override void OnLostFocus(EventArgs e)
    パラメーター
    型 名前 説明
    System.EventArgs e

    OnMouseDown(MouseEventArgs)

    MouseDown イベントを発生させます。

    宣言
    protected override void OnMouseDown(MouseEventArgs e)
    パラメーター
    型 名前 説明
    MouseEventArgs e
    オーバーライド
    OTZControlBase.OnMouseDown(MouseEventArgs)

    OnMouseLeave(EventArgs)

    宣言
    protected override void OnMouseLeave(EventArgs e)
    パラメーター
    型 名前 説明
    System.EventArgs e

    OnMouseMove(MouseEventArgs)

    MouseMove イベントを発生させます。

    宣言
    protected override void OnMouseMove(MouseEventArgs e)
    パラメーター
    型 名前 説明
    MouseEventArgs e

    OnMouseUp(MouseEventArgs)

    MouseUp イベントを発生させます。

    宣言
    protected override void OnMouseUp(MouseEventArgs e)
    パラメーター
    型 名前 説明
    MouseEventArgs e
    オーバーライド
    OTZControlBase.OnMouseUp(MouseEventArgs)

    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)
    パラメーター
    型 名前 説明
    System.EventArgs e

    Select(Int32, Int32)

    テキストの範囲を選択します。

    宣言
    public void Select(int start, int length)
    パラメーター
    型 名前 説明
    System.Int32 start
    System.Int32 length

    WndProc(ref Message)

    Windows メッセージを処理します。

    宣言
    protected override void WndProc(ref Message m)
    パラメーター
    型 名前 説明
    Message m
    オーバーライド
    OTZControlBase.WndProc(ref Message)

    イベント

    ValueChanged

    Value プロパティの値が変化したときに発生します。

    宣言
    public event EventHandler ValueChanged
    Event Type
    型 説明
    System.EventHandler

    Implements

    IOTZControl
    IOTZCaret
    In This Article
    Back to top Generated by DocFX