IItemContainerGenerator.StartAt Method
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.
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection.
Overloads
StartAt(GeneratorPosition, GeneratorDirection) |
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection. |
StartAt(GeneratorPosition, GeneratorDirection, Boolean) |
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection, and controlling whether or not to start at a generated (realized) item. |
StartAt(GeneratorPosition, GeneratorDirection)
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection.
public:
IDisposable ^ StartAt(System::Windows::Controls::Primitives::GeneratorPosition position, System::Windows::Controls::Primitives::GeneratorDirection direction);
public IDisposable StartAt (System.Windows.Controls.Primitives.GeneratorPosition position, System.Windows.Controls.Primitives.GeneratorDirection direction);
abstract member StartAt : System.Windows.Controls.Primitives.GeneratorPosition * System.Windows.Controls.Primitives.GeneratorDirection -> IDisposable
Public Function StartAt (position As GeneratorPosition, direction As GeneratorDirection) As IDisposable
Parameters
- position
- GeneratorPosition
A GeneratorPosition, that specifies the position of the item to start generating items at.
- direction
- GeneratorDirection
A GeneratorDirection that specifies the direction which to generate items.
Returns
An IDisposable object that tracks the lifetime of the generation process.
Remarks
StartAt must be called before GenerateNext is called.
StartAt sets Status to GeneratingContainers; when the IDisposable is disposed, the status changes to ContainersGenerated or Error, as appropriate.
Applies to
StartAt(GeneratorPosition, GeneratorDirection, Boolean)
Prepares the generator to generate items, starting at the specified GeneratorPosition, and in the specified GeneratorDirection, and controlling whether or not to start at a generated (realized) item.
public:
IDisposable ^ StartAt(System::Windows::Controls::Primitives::GeneratorPosition position, System::Windows::Controls::Primitives::GeneratorDirection direction, bool allowStartAtRealizedItem);
public IDisposable StartAt (System.Windows.Controls.Primitives.GeneratorPosition position, System.Windows.Controls.Primitives.GeneratorDirection direction, bool allowStartAtRealizedItem);
abstract member StartAt : System.Windows.Controls.Primitives.GeneratorPosition * System.Windows.Controls.Primitives.GeneratorDirection * bool -> IDisposable
Public Function StartAt (position As GeneratorPosition, direction As GeneratorDirection, allowStartAtRealizedItem As Boolean) As IDisposable
Parameters
- position
- GeneratorPosition
A GeneratorPosition, that specifies the position of the item to start generating items at.
- direction
- GeneratorDirection
Specifies the position of the item to start generating items at.
- allowStartAtRealizedItem
- Boolean
A Boolean that specifies whether to start at a generated (realized) item.
Returns
An IDisposable object that tracks the lifetime of the generation process.
Remarks
See StartAt.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기