Control.BackgroundImageLayout 屬性

定義

取得或設定在 ImageLayout 列舉類型中所定義的背景影像配置。

public:
 virtual property System::Windows::Forms::ImageLayout BackgroundImageLayout { System::Windows::Forms::ImageLayout get(); void set(System::Windows::Forms::ImageLayout value); };
public virtual System.Windows.Forms.ImageLayout BackgroundImageLayout { get; set; }
member this.BackgroundImageLayout : System.Windows.Forms.ImageLayout with get, set
Public Overridable Property BackgroundImageLayout As ImageLayout

屬性值

ImageLayout

其中一個 ImageLayout 值 (CenterNoneStretchTileZoom)。 Tile 為預設值。

例外狀況

指定的列舉值不存在。

備註

BackgroundImageLayout使用 屬性來指定您已放置於控制項上的影像位置和行為。 BackgroundImageLayout 只有在設定 屬性時 BackgroundImage 才會生效。

如果您設定 BackgroundImageLayout 為 以外的 Tile 專案,您可以增加大型映射的效能。

適用於

另請參閱