Version

Offset Property

A value between 0 and 1 that represents the percentage offset into the overall range for the effect.
Syntax
'Declaration
 
Public Property Offset As Double
public double Offset {get; set;}
Remarks

The overall range for the effect is determined by the setting of the related EffectStopDirection property and the extent of the corresponding control dimension. For example, the overall range for an OpacityEffectStop is determined by the setting of the OpacityEffectStopDirection property and the corresponding extent of the XamCarouselPanel's display area. So if the OpacityEffectStopDirection is set to EffectStopDirection.Vertical the overall range for the effect would be the height of the XamCarouselPanel's display area. If the Offset of the EffectStop is set to .75 then the EffectStop's Value would apply to items whose vertical position in the XamCarouselPanel's display area is three quarters of the way down from the top (EffectStopDirection.Vertical is always evaluated from the top down)

A similar evaluation is done with respect to the control's horizontal extent if the OpacityEffectStopDirection is set to EffectStopDirection.Horizontal, with evaluation of the Offset done from left to right.

The example provided above for an OpacityEffectStop applies to the EffectStop types as well.

Refer to the Carousel Architecture Overview topic in the Developer's Guide for an explanation of how Carousel presentation works.

Refer to the Carousel Architecture Overview topic in the Developer's Guide for an explanation of how Carousel presentation works.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also