Control.BackgroundImageLayout プロパティとは? わかりやすく解説

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

Control.BackgroundImageLayout プロパティ

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

ImageLayout 列挙体で定義された背景イメージ レイアウトを取得または設定します。

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

<LocalizableAttribute(True)> _
Public Overridable Property
 BackgroundImageLayout As ImageLayout
Dim instance As Control
Dim value As ImageLayout

value = instance.BackgroundImageLayout

instance.BackgroundImageLayout = value
[LocalizableAttribute(true)] 
public virtual ImageLayout BackgroundImageLayout { get;
 set; }
[LocalizableAttribute(true)] 
public:
virtual property ImageLayout BackgroundImageLayout {
    ImageLayout get ();
    void set (ImageLayout value);
}
/** @property */
public ImageLayout get_BackgroundImageLayout ()

/** @property */
public void set_BackgroundImageLayout (ImageLayout
 value)
public function get BackgroundImageLayout
 () : ImageLayout

public function set BackgroundImageLayout
 (value : ImageLayout)

プロパティ値
ImageLayout の値 (Center、None、Stretch、Tile、または Zoom) の 1 つ。既定値は Tile です。

例外例外
例外の種類条件

InvalidEnumArgumentException

指定した列挙値が存在しません。

解説解説

コントロールに配置したイメージの位置および動作を指定するには、BackgroundImageLayout プロパティを使用します。BackgroundImageLayout は、BackgroundImage プロパティが設定されている場合にだけ有効になります。

BackgroundImageLayout を Tile 以外に設定することにより、大きなイメージを使用した場合のパフォーマンスを高めることができます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Control クラス
Control メンバ
System.Windows.Forms 名前空間
Control.BackgroundImage プロパティ
BackgroundImageLayoutChanged
BackgroundImageChanged
OnBackgroundImageChanged
OnBackgroundImageLayoutChanged


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

英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「Control.BackgroundImageLayout プロパティ」の関連用語

Control.BackgroundImageLayout プロパティのお隣キーワード
検索ランキング

   

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



Control.BackgroundImageLayout プロパティのページの著作権

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

©2026 GRAS Group, Inc.RSS