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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per