OffsetType Enumeration
.NET Framework 3.0
Specifies where an offset is applied to a window element.
Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
| Member name | Description | |
|---|---|---|
| AboveLastButton | The offset is applied from above the last button. | |
| BelowLastButton | The offset is applied from below the last button. | |
| BottomLeft | The offset is applied from the bottom left of the element. | |
| BottomMiddle | The offset is applied from the bottom middle of the element. | |
| BottomRight | The offset is applied from the bottom right of the element. | |
| LeftOfCaption | The offset is applied from the left of the caption. | |
| LeftOfLastButton | The offset is applied from the left of the last button. | |
| MiddleLeft | The offset is applied from the middle left of the element. | |
| MiddleRight | The offset is applied from the middle right of the element. | |
| RightOfCaption | The offset is applied from the right of the caption. | |
| RightOfLastButton | The offset is applied from the right of the last button. | |
| TopLeft | The offset is applied from the top left of the element. | |
| TopMiddle | The offset is applied from the top middle of the element. | |
| TopRight | The offset is applied from the top right of the element. |
The OffsetType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.OffsetType.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: