VisualStyleElement.Page.Upとは? わかりやすく解説

VisualStyleElement.Page.Up クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

アップダウン コントロール (スピン ボックス コントロール) のページ アップ インジケータについて、各状態に対応する VisualStyleElement オブジェクト提供します。このクラス継承できません。

名前空間: System.Windows.Forms.VisualStyles
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

解説解説
使用例使用例

次のコード例は、Normal プロパティから返されVisualStyleElement使用して VisualStyleRenderer を作成する方法示してます。この例を実行するには、コードWindows フォーム貼り付けます。フォームPaint イベント処理しe を PaintEventArgs として渡してPaint イベント処理メソッドから DrawVisualStyleElement_Page_Up1 メソッド呼び出します。

Public Sub DrawVisualStyleElement_Page_Up1(ByVal
 e As PaintEventArgs)
    If (VisualStyleRenderer.IsElementDefined( _
     VisualStyleElement.Page.Up.Normal)) Then
        Dim renderer As New
 VisualStyleRenderer _
          (VisualStyleElement.Page.Up.Normal)
        Dim rectangle1 As New
 Rectangle(10, 50, 50, 50)
        renderer.DrawBackground(e.Graphics, rectangle1)
        e.Graphics.DrawString("VisualStyleElement.Page.Up.Normal",
 _
          Me.Font, Brushes.Black, New Point(10,
 10))
    Else
        e.Graphics.DrawString("This element is not defined in
 the current visual style.", _
          Me.Font, Brushes.Black, New Point(10,
 10))
    End If
End Sub
public void DrawVisualStyleElement_Page_Up1(PaintEventArgs
 e)
{
    if (VisualStyleRenderer.IsElementDefined(
        VisualStyleElement.Page.Up.Normal))
    {
        VisualStyleRenderer renderer =
             new VisualStyleRenderer(VisualStyleElement.Page.Up.Normal);
        Rectangle rectangle1 = new Rectangle(10, 50, 50, 50);
        renderer.DrawBackground(e.Graphics, rectangle1);
        e.Graphics.DrawString("VisualStyleElement.Page.Up.Normal",
             this.Font, Brushes.Black, new
 Point(10, 10));
    }
    else
        e.Graphics.DrawString("This element is not defined in
 the current visual style.",
             this.Font, Brushes.Black, new
 Point(10, 10));
}
継承階層継承階層
System.Object
  System.Windows.Forms.VisualStyles.VisualStyleElement.Page.Up
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
VisualStyleElement.Page.Up メンバ
System.Windows.Forms.VisualStyles 名前空間
VisualStyleElement クラス
VisualStyleRenderer

VisualStyleElement.Page.Up プロパティ


VisualStyleElement.Page.Up メソッド


VisualStyleElement.Page.Up メンバ

アップダウン コントロール (スピン ボックス コントロール) のページ アップ インジケータについて、各状態に対応する VisualStyleElement オブジェクト提供します。このクラス継承できません。

VisualStyleElement.Page.Up データ型公開されるメンバを以下の表に示します


パブリック プロパティパブリック プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

VisualStyleElement.Page.Up クラス
System.Windows.Forms.VisualStyles 名前空間
VisualStyleElement クラス
VisualStyleRenderer


このページでは「.NET Framework クラス ライブラリ リファレンス」からVisualStyleElement.Page.Upを検索した結果を表示しています。
Weblioに収録されているすべての辞書からVisualStyleElement.Page.Upを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からVisualStyleElement.Page.Up を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「VisualStyleElement.Page.Up」の関連用語

VisualStyleElement.Page.Upのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



VisualStyleElement.Page.Upのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS