BackgroundSizing 列舉

定義

定義常數,指定元素的背景相對於元素框線的延伸程度。

public enum class BackgroundSizing
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class BackgroundSizing
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum BackgroundSizing
Public Enum BackgroundSizing
繼承
BackgroundSizing
屬性

欄位

InnerBorderEdge 0

元素的背景會延伸至框線的內部邊緣,但不會在框線下延伸。

OuterBorderEdge 1

元素的背景會在框線下延伸至其外邊緣,如果框線為透明,則為可見。

備註

具有 BackgroundSizing 屬性的專案會使用此列舉。

適用於

另請參閱