System.Windows.Forms.BindingNavigator.MoveFirstItem Property

Gets or sets the System.Windows.Forms.ToolStripItem that is associated with the Move First functionality.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

When set, this property generates the Control.Click event handler for the Move First button. This event handler calls the BindingSource.MoveFirst method when the Move First button is clicked at run time.

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 System.Windows.Forms.BindingNavigator control will disable the Move First button under the following run-time circumstances: the BindingNavigator.BindingSource property is null, the BindingSource.Position property is zero, or BindingSource.AllowNew for the related System.Windows.Forms.BindingSource is false.

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

Requirements

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