OffsetType Wyliczenie
Definicja
Określa, czy przesunięcie jest stosowane do elementu okna.Specifies where an offset is applied to a window element.
public enum class OffsetType
public enum OffsetType
type OffsetType =
Public Enum OffsetType
- Dziedziczenie
Pola
AboveLastButton | 12 | Przesunięcie jest stosowane z powyżej ostatniego przycisku.The offset is applied from above the last button. |
BelowLastButton | 13 | Przesunięcie jest stosowane od ostatniego przycisku.The offset is applied from below the last button. |
BottomLeft | 3 | Przesunięcie jest stosowane od lewej dolnej krawędzi elementu.The offset is applied from the bottom left of the element. |
BottomMiddle | 5 | Przesunięcie jest stosowane z dołu środka elementu.The offset is applied from the bottom middle of the element. |
BottomRight | 4 | Przesunięcie jest stosowane w prawym dolnym rogu elementu.The offset is applied from the bottom right of the element. |
LeftOfCaption | 8 | Przesunięcie jest stosowane po lewej stronie podpisu.The offset is applied from the left of the caption. |
LeftOfLastButton | 10 | Przesunięcie jest stosowane z lewej strony ostatniego przycisku.The offset is applied from the left of the last button. |
MiddleLeft | 6 | Przesunięcie jest stosowane z lewej strony elementu.The offset is applied from the middle left of the element. |
MiddleRight | 7 | Przesunięcie jest stosowane z prawej strony elementu.The offset is applied from the middle right of the element. |
RightOfCaption | 9 | Przesunięcie jest stosowane z prawej strony podpisu.The offset is applied from the right of the caption. |
RightOfLastButton | 11 | Przesunięcie jest stosowane z prawej strony ostatniego przycisku.The offset is applied from the right of the last button. |
TopLeft | 0 | Przesunięcie jest stosowane od lewego górnego rogu elementu.The offset is applied from the top left of the element. |
TopMiddle | 2 | Przesunięcie jest stosowane z górnego środka elementu.The offset is applied from the top middle of the element. |
TopRight | 1 | Przesunięcie jest stosowane w prawym górnym rogu elementu.The offset is applied from the top right of the element. |
Uwagi
OffsetTypeWartości reprezentują wartości zwracane przez VisualStyleRenderer.GetEnumValue metodę, gdy jest wywoływana z wartością argumentu EnumProperty.OffsetType .The OffsetType values represent the return values of the VisualStyleRenderer.GetEnumValue method when it is called with an argument value of EnumProperty.OffsetType.