Search Results for

    Show / Hide Table of Contents

    Class OTZForm

    OTZ フォームコントロールの機能を提供します。

    Inheritance
    System.Object
    OTZForm
    OTZDialog
    名前空間: OTZControls.Forms
    アセンブリ: OTZControls.dll
    Syntax
    public class OTZForm : Form

    コンストラクタ

    OTZForm()

    コンストラクタ

    宣言
    public OTZForm()

    OTZForm(OTZControlThemeType)

    コンストラクタ

    宣言
    public OTZForm(OTZControlThemeType theme)
    パラメーター
    型 名前 説明
    OTZControlThemeType theme

    テーマを指定します。

    プロパティ

    AccentColor

    アクセントカラーを取得します。

    宣言
    [Browsable(false)]
    public Color AccentColor { get; }
    プロパティ値
    型 説明
    Color

    アクセントカラー。

    AssemblyName

    OTZ コントロールのアセンブリ名を取得します。

    宣言
    [Browsable(false)]
    public static string AssemblyName { get; }
    プロパティ値
    型 説明
    System.String

    AutoUpdateChildControlTheme

    フォーム上のコントロールを自動的にフォームのテーマを適用するかどうかを取得または設定します。

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

    自動的に適用する場合は true。適用しない場合は false。規定値は true です。

    BackgroundImage

    コントロールに表示される背景イメージを取得または設定します。

    宣言
    [Browsable(true)]
    public Image? BackgroundImage { get; set; }
    プロパティ値
    型 説明
    System.Nullable<Image>

    BackgroundImageLayout

    コントロールに表示される背景イメージのレイアウトを取得または設定します。

    宣言
    [Browsable(true)]
    public OTZBackgroundImageLayoutType BackgroundImageLayout { get; set; }
    プロパティ値
    型 説明
    OTZBackgroundImageLayoutType

    BackgroundImageOpacity

    コントロールに表示される背景イメージの不透明度を取得または設定します。

    宣言
    [Browsable(true)]
    public double BackgroundImageOpacity { get; set; }
    プロパティ値
    型 説明
    System.Double

    BackgroundImageScope

    コントロールに表示される背景イメージの表示範囲を取得または設定します。

    宣言
    [Browsable(true)]
    public OTZBackgroundImageScopeType BackgroundImageScope { get; set; }
    プロパティ値
    型 説明
    OTZBackgroundImageScopeType

    BackgroundImageTargetControl

    フォーム以外に画像を描画する場合の基準となるコントロールを取得または設定します。

    宣言
    [Browsable(true)]
    public Control BackgroundImageTargetControl { get; set; }
    プロパティ値
    型 説明
    Control

    CaptionImage

    タイトルバーのイメージを取得または設定します。

    宣言
    public Image CaptionImage { get; set; }
    プロパティ値
    型 説明
    Image

    FormBorderStyle

    フォームの境界線スタイルを取得または設定します。

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

    IsDesignMode

    デザインモードかどうかを取得します。

    宣言
    protected bool IsDesignMode { get; }
    プロパティ値
    型 説明
    System.Boolean

    IsStartUpDpiChanged

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

    LastWindowState

    最後のウィンドウが元のサイズに戻されているか、最小化されているか、最大化されているかを示す値を取得します。

    宣言
    [Browsable(false)]
    public FormWindowState LastWindowState { get; }
    プロパティ値
    型 説明
    FormWindowState

    MaximizeBox

    フォームのキャプション バーに [最大化] ボタンを表示するかどうかを示す値を取得または設定します。

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

    MenuBackgroundImageOpacity

    選択したメニューに表示される背景イメージの不透明度を取得または設定します。

    宣言
    [Browsable(true)]
    public double MenuBackgroundImageOpacity { get; set; }
    プロパティ値
    型 説明
    System.Double

    MinimizeBox

    フォームのキャプション バーに [最小化] ボタンを表示するかどうかを示す値を取得または設定します。

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

    Padding

    ウィンドウの枠線を表示させるために、最小を1にする。

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

    PopupMenuBackgroundImageOpacity

    コントロールに表示される背景イメージの不透明度を取得または設定します。

    宣言
    [Browsable(true)]
    public double PopupMenuBackgroundImageOpacity { get; set; }
    プロパティ値
    型 説明
    System.Double

    Renderer

    テーマのレンダラーを取得または設定します。

    宣言
    [Browsable(false)]
    public OTZRendererBase Renderer { get; set; }
    プロパティ値
    型 説明
    OTZRendererBase

    ShouldAppsUseDarkMode

    タイトルバーのキャプションイメージを取得または設定します。

    宣言
    [Browsable(false)]
    public bool ShouldAppsUseDarkMode { get; }
    プロパティ値
    型 説明
    System.Boolean

    ShowIcon

    フォームのキャプション バーにアイコンを表示するかどうかを示す値を取得または設定します。

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

    ShowInTaskbar

    フォームを Windows タスクバーに表示するかどうかを示す値を取得または設定します。

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

    Text

    タイトルバーのキャプションテキストを取得または設定します。

    宣言
    public string Text { get; set; }
    プロパティ値
    型 説明
    System.String

    タイトルバーに表示するテキスト。

    Theme

    テーマを取得または設定します。

    宣言
    [Browsable(true)]
    public OTZControlThemeType Theme { get; set; }
    プロパティ値
    型 説明
    OTZControlThemeType

    TitleBarControlPanel

    タイトルバーのコントロール配置パネルを取得します。

    宣言
    [Browsable(false)]
    public OTZPanel TitleBarControlPanel { get; }
    プロパティ値
    型 説明
    OTZPanel

    TitleBarTextAlignCenter

    タイトルバーのラベルの内容を真ん中に表示するかどうかを取得または設定します。

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

    UseEdge

    ウィンドウのエッジを利用するかどうかを取得または設定します。

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

    Version

    OTZ コントロールのバージョンを取得します。

    宣言
    [Browsable(false)]
    public static string Version { get; }
    プロパティ値
    型 説明
    System.String

    VersionText

    バージョンを取得します。

    宣言
    [Browsable(false)]
    public static string VersionText { get; }
    プロパティ値
    型 説明
    System.String

    WindowEdgeX

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

    WindowEdgeY

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

    メソッド

    Dispose(Boolean)

    使用中のリソースをすべてクリーンアップします。

    宣言
    protected override void Dispose(bool disposing)
    パラメーター
    型 名前 説明
    System.Boolean disposing

    マネージド リソースを破棄する場合は true を指定し、その他の場合は false を指定します。

    OnAccentColorChanged(EventArgs)

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

    宣言
    protected void OnAccentColorChanged(EventArgs e)
    パラメーター
    型 名前 説明
    EventArgs e

    OnAppsUseDarkThemeChanged(EventArgs)

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

    宣言
    protected void OnAppsUseDarkThemeChanged(EventArgs e)
    パラメーター
    型 名前 説明
    EventArgs e

    OnControlAdded(ControlEventArgs)

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

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

    OnLoad(EventArgs)

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

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

    OnPaint(PaintEventArgs)

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

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

    OnResize(EventArgs)

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

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

    OnShown(EventArgs)

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

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

    OnSizeChanged(EventArgs)

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

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

    RescaleDpiChangedControl(Int32)

    宣言
    public void RescaleDpiChangedControl(int dpi)
    パラメーター
    型 名前 説明
    System.Int32 dpi

    SetControlSize100(Control)

    宣言
    public void SetControlSize100(Control control)
    パラメーター
    型 名前 説明
    Control control

    SetControlSize100(Control, Nullable<Font>, OTZBoundsSpecifiedType)

    宣言
    protected void SetControlSize100(Control control, Font? font, OTZBoundsSpecifiedType boundsSpecified)
    パラメーター
    型 名前 説明
    Control control
    System.Nullable<Font> font
    OTZBoundsSpecifiedType boundsSpecified

    SetTheme(OTZControlThemeType, OTZColorTableBase, OTZControlColorTableBase)

    テーマを設定します。

    宣言
    public void SetTheme(OTZControlThemeType theme, OTZColorTableBase colorTable, OTZControlColorTableBase controlColorTable)
    パラメーター
    型 名前 説明
    OTZControlThemeType theme
    OTZColorTableBase colorTable
    OTZControlColorTableBase controlColorTable

    SubClassChild(Control)

    コントロールにウィンドウ プロシージャを割り当てます

    宣言
    protected void SubClassChild(Control control)
    パラメーター
    型 名前 説明
    Control control

    SubClassChildren(Control.ControlCollection)

    コントロールにウィンドウ プロシージャを割り当てます

    宣言
    protected void SubClassChildren(Control.ControlCollection controls)
    パラメーター
    型 名前 説明
    Control.ControlCollection controls

    UpdateChildControlTheme(Control.ControlCollection)

    指定したコントロールに配置されているコントロールのテーマを変更します。

    宣言
    protected void UpdateChildControlTheme(Control.ControlCollection controls)
    パラメーター
    型 名前 説明
    Control.ControlCollection controls

    WndProc(ref Message)

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

    宣言
    protected override void WndProc(ref Message m)
    パラメーター
    型 名前 説明
    Message m

    イベント

    AccentColorChanged

    アクセントカラーが変更されたときに発生します。

    宣言
    public event EventHandler AccentColorChanged
    Event Type
    型 説明
    EventHandler

    AppsUseDarkThemeChanged

    アプリの既定のテーマが変更されたときに発生します。

    宣言
    public event EventHandler AppsUseDarkThemeChanged
    Event Type
    型 説明
    EventHandler
    In This Article
    Back to top Generated by DocFX