ParallaxSourceOffsetKind 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.
Defines constants that specify how the source offset values of a ParallaxView are interpreted.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ParallaxSourceOffsetKind (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public enum class ParallaxSourceOffsetKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
enum class ParallaxSourceOffsetKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
public enum ParallaxSourceOffsetKind
var value = Windows.UI.Xaml.Controls.ParallaxSourceOffsetKind.absolute
Public Enum ParallaxSourceOffsetKind
- Inheritance
-
ParallaxSourceOffsetKind
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|
Fields
Name | Value | Description |
---|---|---|
Absolute | 0 | The source start/end offset value is interpreted as an absolute value. |
Relative | 1 | The source start/end offset value is added to the auto-computed source offset. |