OffsetType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies where an offset is applied to a window element.
public enum class OffsetType
public enum OffsetType
type OffsetType =
Public Enum OffsetType
- Inheritance
Fields
Name | Value | Description |
---|---|---|
TopLeft | 0 | The offset is applied from the top left of the element. |
TopRight | 1 | The offset is applied from the top right of the element. |
TopMiddle | 2 | The offset is applied from the top middle of the element. |
BottomLeft | 3 | The offset is applied from the bottom left of the element. |
BottomRight | 4 | The offset is applied from the bottom right of the element. |
BottomMiddle | 5 | The offset is applied from the bottom middle of the element. |
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. |
LeftOfCaption | 8 | The offset is applied from the left of the caption. |
RightOfCaption | 9 | The offset is applied from the right of the caption. |
LeftOfLastButton | 10 | The offset is applied from the left of the last button. |
RightOfLastButton | 11 | The offset is applied from the right of the last button. |
AboveLastButton | 12 | The offset is applied from above the last button. |
BelowLastButton | 13 | The offset is applied from below the last button. |
Remarks
The OffsetType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.OffsetType.