NetXP 3.0 Reference

CommandBar.GetItemRect Method 

Gets the bounds of an item.

[Visual Basic]
Public Function GetItemRect( _
   ByVal item As CommandBarItem _
) As Rectangle
[C#]
public Rectangle GetItemRect(
   CommandBarItem item
);

Parameters

item
The item.

Return Value

The item's bounds.

See Also

CommandBar Class | NETXP.Controls.Bars Namespace