Search Results for

    Show / Hide Table of Contents

    Class OTZVisualStyleRenderer

    Inheritance
    System.Object
    OTZVisualStyleRenderer
    名前空間: OTZControls.Utilities
    アセンブリ: OTZControls.dll
    Syntax
    public class OTZVisualStyleRenderer : IDisposable

    コンストラクタ

    OTZVisualStyleRenderer(IntPtr, VisualStyleElement, Int32)

    コンストラクタ

    宣言
    public OTZVisualStyleRenderer(IntPtr hWnd, VisualStyleElement element, int dpi)
    パラメーター
    型 名前 説明
    System.IntPtr hWnd
    System.Windows.Forms.VisualStyles.VisualStyleElement element
    System.Int32 dpi

    メソッド

    Dispose()

    リソースを解放します。

    宣言
    public void Dispose()

    DrawBackground(IDeviceContext, Rectangle)

    現在の visual スタイル要素の背景イメージを描画します。

    宣言
    public void DrawBackground(IDeviceContext dc, Rectangle bounds)
    パラメーター
    型 名前 説明
    IDeviceContext dc
    Rectangle bounds

    GetPartSize(IDeviceContext, ThemeSizeType)

    現在の visual スタイル部品の、指定したサイズ プロパティの値を返します。

    宣言
    public Size GetPartSize(IDeviceContext dc, ThemeSizeType type)
    パラメーター
    型 名前 説明
    IDeviceContext dc
    System.Windows.Forms.VisualStyles.ThemeSizeType type
    戻り値
    型 説明
    Size

    SetParameters(VisualStyleElement)

    VisualStyleRenderer の現在の visual スタイル要素を設定します。

    宣言
    public void SetParameters(VisualStyleElement element)
    パラメーター
    型 名前 説明
    System.Windows.Forms.VisualStyles.VisualStyleElement element
    In This Article
    Back to top Generated by DocFX