This documentation is archived and is not being maintained.

BindingNavigator.PositionItem Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the ToolStripItem that displays the current position within the BindingSource.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in

public ToolStripItem PositionItem { get; set; }
/** @property */
public ToolStripItem get_PositionItem ()

/** @property */
public void set_PositionItem (ToolStripItem value)

public function get PositionItem () : ToolStripItem

public function set PositionItem (value : ToolStripItem)

Property Value

The ToolStripItem that displays the current position.

In the default implementation, the PositionItem property is of type ToolStripTextBox.

This property is a null reference (Nothing in Visual Basic) if it was not previously set and it is accessed before the AddStandardItems method is implicitly or explicitly called.

The current position calculated by obtaining the Position property of the BindingSource, and adding 1 to transform the position into a 1-based count.

In the default implementation, this property represents a control of type ToolStripTextBox.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0