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
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. |
Remarks
The OffsetType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.OffsetType.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應