Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

BindingNavigator.MoveLastItem Property

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

Gets or sets the ToolStripItem that is associated with the Move Last functionality.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public ToolStripItem MoveLastItem { get; set; }
/** @property */
public ToolStripItem get_MoveLastItem ()

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

public function get MoveLastItem () : ToolStripItem

public function set MoveLastItem (value : ToolStripItem)

Property Value

A ToolStripItem that represents the Move Last button for the BindingSource.

When set, this property generates the Click event handler for the Move Last button. This event handler calls the MoveLast method when the Move Last button is clicked at run time.

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 BindingNavigator control will disable the Move Last button under the following run-time circumstances: the BindingSource property is a null reference (Nothing in Visual Basic) or the Position property is greater than or equal to the Count property.

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

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft