MarginProperty 列舉

定義

識別視覺化樣式項目的邊界屬性。Identifies the margin properties of a visual style element.

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

欄位

CaptionMargins 3603

指定可放置標題文字的位置。Specifies where caption text can be placed.

ContentMargins 3602

指定可放置內容的位置。Specifies where content can be placed.

SizingMargins 3601

指定用於九宮格縮放的邊界。Specifies a margin used for nine-grid sizing.

備註

MarginProperty列舉代表一組邊界屬性, 描述視覺化樣式元素的位置。The MarginProperty enumeration represents a set of margin properties that describe the placement of visual style elements. 這些MarginProperty值會用來做為VisualStyleRenderer.GetMargins方法中的引數, 以指定要VisualStyleRenderer針對目前所代表的專案來抓取的屬性值。The MarginProperty values are used as an argument in the VisualStyleRenderer.GetMargins method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

適用於