VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティの意味・解説 

VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

標準の状態の上向きスクロール バー矢印ボタンを表す visual スタイル要素取得します

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

Public Shared ReadOnly Property
 UpNormal As VisualStyleElement
Dim value As VisualStyleElement

value = ArrowButton.UpNormal
public static VisualStyleElement UpNormal {
 get; }
public:
static property VisualStyleElement^ UpNormal {
    VisualStyleElement^ get ();
}
/** @property */
public static VisualStyleElement get_UpNormal
 ()
public static function get
 UpNormal () : VisualStyleElement

プロパティ
標準の状態の上向きスクロール バー矢印ボタンを表す VisualStyleElement。

解説解説

UpNormal プロパティから返されVisualStyleElement使用して、VisualStyleRenderer を作成できます

使用例使用例

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

Public Sub DrawVisualStyleElementScrollBarArrowButton1(ByVal
 e As PaintEventArgs)
    If (VisualStyleRenderer.IsElementDefined( _
     VisualStyleElement.ScrollBar.ArrowButton.UpNormal)) Then
        Dim renderer As New
 VisualStyleRenderer _
          (VisualStyleElement.ScrollBar.ArrowButton.UpNormal)
        Dim rectangle1 As New
 Rectangle(10, 50, 50, 50)
        renderer.DrawBackground(e.Graphics, rectangle1)
        e.Graphics.DrawString("VisualStyleElement.ScrollBar.ArrowButton.UpNormal",
 _
          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 DrawVisualStyleElementScrollBarArrowButton1(PaintEventArgs
 e)
{
    if (VisualStyleRenderer.IsElementDefined(
        VisualStyleElement.ScrollBar.ArrowButton.UpNormal))
    {
        VisualStyleRenderer renderer =
             new VisualStyleRenderer(VisualStyleElement.ScrollBar.ArrowButton.UpNormal);
        Rectangle rectangle1 = new Rectangle(10, 50, 50, 50);
        renderer.DrawBackground(e.Graphics, rectangle1);
        e.Graphics.DrawString("VisualStyleElement.ScrollBar.ArrowButton.UpNormal"
,
             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));
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
VisualStyleElement.ScrollBar.ArrowButton クラス
VisualStyleElement.ScrollBar.ArrowButton メンバ
System.Windows.Forms.VisualStyles 名前空間



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

辞書ショートカット

すべての辞書の索引

「VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティ」の関連用語

VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティのお隣キーワード
検索ランキング

   

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



VisualStyleElement.ScrollBar.ArrowButton.UpNormal プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS