OffsetType 枚举

定义

指定对窗口元素应用偏移量的位置。Specifies where an offset is applied to a window element.

public enum class OffsetType
public enum OffsetType
type OffsetType = 
Public Enum OffsetType
继承
OffsetType

字段

AboveLastButton 12

从最后一个按钮上方应用偏移量。The offset is applied from above the last button.

BelowLastButton 13

从最后一个按钮下方应用偏移量。The offset is applied from below the last button.

BottomLeft 3

从该元素左下方应用偏移量。The offset is applied from the bottom left of the element.

BottomMiddle 5

从该元素下方中间应用偏移量。The offset is applied from the bottom middle of the element.

BottomRight 4

从该元素右下方应用偏移量。The offset is applied from the bottom right of the element.

LeftOfCaption 8

从标题左端应用偏移量。The offset is applied from the left of the caption.

LeftOfLastButton 10

从最后一个按钮左端应用偏移量。The offset is applied from the left of the last button.

MiddleLeft 6

从该元素中间左端应用偏移量。The offset is applied from the middle left of the element.

MiddleRight 7

从该元素中间右端应用偏移量。The offset is applied from the middle right of the element.

RightOfCaption 9

从标题右端应用偏移量。The offset is applied from the right of the caption.

RightOfLastButton 11

从最后一个按钮右端应用偏移量。The offset is applied from the right of the last button.

TopLeft 0

从该元素左上方应用偏移量。The offset is applied from the top left of the element.

TopMiddle 2

从该元素上端中间应用偏移量。The offset is applied from the top middle of the element.

TopRight 1

从该元素右上方应用偏移量。The offset is applied from the top right of the element.

注解

值表示VisualStyleRenderer.GetEnumValueEnumProperty.OffsetType使用参数值调用方法时该方法的返回值。 OffsetTypeThe OffsetType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.OffsetType.

适用于