MenuItemAutomationPeer.GetPositionInSetCore Method

Definition

Gets the position of a MenuItem contained in a set.

C#
protected override int GetPositionInSetCore();

Returns

The value of the PositionInSetProperty if it has been set, or its position relative to the parent ItemsControl or GroupItem control.

Applies to

Производ Верзије
.NET Framework 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10