GeneratorPosition Structure
GeneratorPosition is used to describe the position of an item that is managed by ItemContainerGenerator.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
The GeneratorPosition type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | GeneratorPosition | Initializes a new instance of GeneratorPosition with the specified index and offset. |
| Name | Description | |
|---|---|---|
![]() | Equals | Compares the specified instance and the current instance of GeneratorPosition for value equality. (Overrides ValueType::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Returns the hash code for this GeneratorPosition. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string representation of this instance of GeneratorPosition. (Overrides ValueType::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Compares two GeneratorPosition objects for value equality. |
![]() ![]() | Inequality | Compares two GeneratorPosition objects for value inequality. |
The following example illustrates how to use GeneratorPosition to start generating forward from the beginning of an item list.
The following example illustrates how to use GeneratorPosition to start generating backward from the end of an item list.
The following example illustrates how to use GeneratorPosition to start generating forward from the middle of an item list.
Windows 7, 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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
