System.Windows.Forms.BindingNavigator.PositionItem Property

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

Syntax

[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ReferenceConverter))]
public ToolStripItem PositionItem { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

In the default implementation, the BindingNavigator.PositionItem property is of type System.Windows.Forms.ToolStripTextBox.

This property is null if it was not previously set and it is accessed before the BindingNavigator.AddStandardItems method is implicitly or explicitly called.

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

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0