BackgroundType 列舉

定義

指定可視化樣式專案背景的來源。

public enum class BackgroundType
public enum BackgroundType
type BackgroundType = 
Public Enum BackgroundType
繼承
BackgroundType

欄位

名稱 Description
ImageFile 0

元素的背景是一個位圖。 若設定此值,對 ImageFile 應的屬性將包含有效影像檔案名稱。

BorderFill 1

元素的背景是一個填滿顏色或圖案的矩形。

None 2

元素沒有背景。

備註

視覺風格元素的背景可以是點陣圖、填滿的矩形,或什麼都沒有。 這些BackgroundType值代表當以參數值呼叫EnumProperty.BackgroundType該方法時的GetEnumValue回傳值。

適用於