Edit

Kongsi melalui


MenuItemAutomationPeer.GetPositionInSetCore Method

Definition

Gets the position of a MenuItem contained in a set.

protected:
 override int GetPositionInSetCore();
protected override int GetPositionInSetCore ();
override this.GetPositionInSetCore : unit -> int
Protected Overrides Function GetPositionInSetCore () As Integer

Returns

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

Applies to