NetXP 3.0 Reference

ListBarItem.SetLocationAndWidth Method 

Sets the location and width of this item. This method is called by internally by the ListBar or the ListBarGroup which owns this item.

[Visual Basic]
Public Sub SetLocationAndWidth( _
   ByVal location As Point, _
   ByVal width As Integer _
)
[C#]
public void SetLocationAndWidth(
   Point location,
   int width
);

Parameters

location
The new location for the item.
width
The new width of the item.

Remarks

This member is not intended to be called from client code. If you do use it, it is likely that a subsequent operation on the control or group will replace the values. If you need more control over placement, override this class and build the logic into the override for this method instead.

See Also

ListBarItem Class | NETXP.Controls.Bars Namespace