0% found this document useful (0 votes)
167 views31 pages

BindingNavigator Class (System - Windows

The BindingNavigator class represents the navigation and manipulation user interface for controls on a form that are bound to data. It inherits from the ToolStrip class and allows navigation through data records as well as common data operations like adding or deleting records. The class has numerous properties for configuring the navigation buttons and data binding behavior.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
167 views31 pages

BindingNavigator Class (System - Windows

The BindingNavigator class represents the navigation and manipulation user interface for controls on a form that are bound to data. It inherits from the ToolStrip class and allows navigation through data records as well as common data operations like adding or deleting records. The class has numerous properties for configuring the navigation buttons and data binding behavior.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 31

06/07/2017 BindingNavigator Class (System.Windows.

Forms)

BindingNavigator Class
.NET Framework (current version)

 
Represents the navigation and manipulation user interface (UI) for controls on a form that are bound to data.

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

Inheritance Hierarchy
System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ToolStrip
            System.Windows.Forms.BindingNavigator

Syntax
C#

[ComVisibleAttribute(true)]
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)]
public class BindingNavigator : ToolStrip, ISupportInitialize

Constructors

Name Description

BindingNavigator() Initializes a new instance of the BindingNavigator class.

BindingNavigator(B Initializes a new instance of the BindingNavigator class with the specified
indingSource) BindingSource as the data source.

BindingNavigator(B Initializes a new instance of the BindingNavigator class, indicating whether to


oolean) display the standard navigation user interface (UI).

BindingNavigator(I Initializes a new instance of the BindingNavigator class and adds this new
Container) instance to the specified container.

Properties
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 1/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

Name Description

AccessibilityO Gets the AccessibleObject assigned to the control.(Inherited from Control.)


bject

AccessibleDef Gets or sets the default action description of the control for use by accessibility
aultActionDes client applications.(Inherited from Control.)
cription

AccessibleDe Gets or sets the description of the control used by accessibility client applications.
scription (Inherited from Control.)

AccessibleNa Gets or sets the name of the control used by accessibility client applications.
me (Inherited from Control.)

AccessibleRol Gets or sets the accessible role of the control (Inherited from Control.)
e

AddNewItem Gets or sets the ToolStripItem that represents the Add New button.

AllowDrop Gets or sets a value indicating whether drag-and-drop and item reordering are
handled through events that you implement.(Inherited from ToolStrip.)

AllowItemReo Gets or sets a value indicating whether drag-and-drop and item reordering are
rder handled privately by the ToolStrip class.(Inherited from ToolStrip.)

AllowMerge Gets or sets a value indicating whether multiple MenuStrip,


ToolStripDropDownMenu, ToolStripMenuItem, and other types can be combined.
(Inherited from ToolStrip.)

Anchor Gets or sets the edges of the container to which a ToolStrip is bound and
determines how a ToolStrip is resized with its parent.(Inherited from ToolStrip.)

AutoScroll This API supports the product infrastructure and is not intended to be used directly
from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

AutoScrollMa This API supports the product infrastructure and is not intended to be used directly
rgin from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

AutoScrollMi This API supports the product infrastructure and is not intended to be used directly
nSize from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

AutoScrollOff Gets or sets where this control is scrolled to in ScrollControlIntoView.(Inherited from


set Control.)

AutoScrollPos This API supports the product infrastructure and is not intended to be used directly
ition from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

AutoSize Gets or sets a value indicating whether the control is automatically resized to
display its entire contents.(Inherited from ToolStrip.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 2/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

BackColor This API supports the product infrastructure and is not intended to be used directly
from your code. Gets or sets the background color for the ToolStrip.(Inherited from
ToolStrip.)

BackgroundI Gets or sets the background image displayed in the control.(Inherited from
mage Control.)

BackgroundI Gets or sets the background image layout as defined in the ImageLayout
mageLayout enumeration.(Inherited from Control.)

BindingConte Gets or sets the binding context for the ToolStrip.(Inherited from ToolStrip.)
xt

BindingSourc Gets or sets the System.Windows.Forms.BindingSource component that is the


e source of data.

Bottom Gets the distance, in pixels, between the bottom edge of the control and the top
edge of its container's client area.(Inherited from Control.)

Bounds Gets or sets the size and location of the control including its nonclient elements, in
pixels, relative to the parent control.(Inherited from Control.)

CanEnableIm Gets a value indicating whether the ImeMode property can be set to an active value,
e to enable IME support.(Inherited from Control.)

CanFocus Gets a value indicating whether the control can receive focus.(Inherited from
Control.)

CanOverflow Gets or sets a value indicating whether items in the ToolStrip can be sent to an
overflow menu.(Inherited from ToolStrip.)

CanRaiseEven Determines if events can be raised on the control.(Inherited from Control.)


ts

CanSelect Gets a value indicating whether the control can be selected.(Inherited from Control.)

Capture Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control.)

CausesValida Gets or sets a value indicating whether the ToolStrip causes validation to be
tion performed on any controls that require validation when it receives focus.(Inherited
from ToolStrip.)

ClientRectang Gets the rectangle that represents the client area of the control.(Inherited from
le Control.)

ClientSize Gets or sets the height and width of the client area of the control.(Inherited from
Control.)

CompanyNa Gets the name of the company or creator of the application containing the control.
me (Inherited from Control.)

Container Gets the IContainer that contains the Component.(Inherited from Component.)

ContainsFocu Gets a value indicating whether the control, or one of its child controls, currently has
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 3/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

s the input focus.(Inherited from Control.)

ContextMenu Gets or sets the shortcut menu associated with the control.(Inherited from Control.)

ContextMenu Gets or sets the ContextMenuStrip associated with this control.(Inherited from
Strip Control.)

Controls This API supports the product infrastructure and is not intended to be used directly
from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

CountItem Gets or sets the ToolStripItem that displays the total number of items in the
associated BindingSource.

CountItemFor Gets or sets a string used to format the information displayed in the CountItem
mat control.

Created Gets a value indicating whether the control has been created.(Inherited from
Control.)

CreateParam Gets the required creation parameters when the control handle is created.(Inherited
s from ScrollableControl.)

Cursor Gets or sets the cursor that is displayed when the mouse pointer is over the
ToolStrip.(Inherited from ToolStrip.)

DataBindings Gets the data bindings for the control.(Inherited from Control.)

DefaultCursor Gets or sets the default cursor for the control.(Inherited from Control.)

DefaultDock Gets the docking location of the ToolStrip, indicating which borders are docked to
the container.(Inherited from ToolStrip.)

DefaultDropD Gets or sets a value representing the default direction in which a


ownDirection ToolStripDropDown control is displayed relative to the ToolStrip.(Inherited from
ToolStrip.)

DefaultGripM Gets the default spacing, in pixels, between the sizing grip and the edges of the
argin ToolStrip.(Inherited from ToolStrip.)

DefaultImeM Gets the default Input Method Editor (IME) mode supported by the control.
ode (Inherited from Control.)

DefaultMargi Gets the spacing, in pixels, between the ToolStrip and the ToolStripContainer.
n (Inherited from ToolStrip.)

DefaultMaxim Gets the length and height, in pixels, that is specified as the default maximum size
umSize of a control.(Inherited from Control.)

DefaultMinim Gets the length and height, in pixels, that is specified as the default minimum size of
umSize a control.(Inherited from Control.)

DefaultPaddi Gets the internal spacing, in pixels, of the contents of a ToolStrip.(Inherited from
ng ToolStrip.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 4/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

DefaultShowIt Gets a value indicating whether ToolTips are shown for the ToolStrip by default.
emToolTips (Inherited from ToolStrip.)

DefaultSize Gets the default size of the ToolStrip.(Inherited from ToolStrip.)

DeleteItem Gets or sets the ToolStripItem that is associated with the Delete functionality.

DesignMode Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)

DeviceDpi Gets the DPI value for the display device where the control is currently being
displayed.(Inherited from Control.)

DisplayedIte Gets the subset of items that are currently displayed on the ToolStrip, including
ms items that are automatically added into the ToolStrip.(Inherited from ToolStrip.)

DisplayRecta This API supports the product infrastructure and is not intended to be used directly
ngle from your code. Retrieves the current display rectangle.(Inherited from ToolStrip.)

Disposing Gets a value indicating whether the base Control class is in the process of
disposing.(Inherited from Control.)

Dock Gets or sets which ToolStrip borders are docked to its parent control and
determines how a ToolStrip is resized with its parent.(Inherited from ToolStrip.)

DockPadding Gets the dock padding settings for all edges of the control.(Inherited from
ScrollableControl.)

DoubleBuffer Gets or sets a value indicating whether this control should redraw its surface using
ed a secondary buffer to reduce or prevent flicker.(Inherited from Control.)

Enabled Gets or sets a value indicating whether the control can respond to user interaction.
(Inherited from Control.)

Events Gets the list of event handlers that are attached to this Component.(Inherited from
Component.)

Focused Gets a value indicating whether the control has input focus.(Inherited from Control.)

Font Gets or sets the font used to display text in the control.(Inherited from ToolStrip.)

FontHeight Gets or sets the height of the font of the control.(Inherited from Control.)

ForeColor Gets or sets the foreground color of the ToolStrip.(Inherited from ToolStrip.)

GripDisplaySt Gets the orientation of the ToolStrip move handle.(Inherited from ToolStrip.)
yle

GripMargin Gets or sets the space around the ToolStrip move handle.(Inherited from ToolStrip.)

GripRectangl Gets the boundaries of the ToolStrip move handle.(Inherited from ToolStrip.)
e

GripStyle Gets or sets whether the ToolStrip move handle is visible or hidden.(Inherited from
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 5/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ToolStrip.)

Handle Gets the window handle that the control is bound to.(Inherited from Control.)

HasChildren This API supports the product infrastructure and is not intended to be used directly
from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

Height Gets or sets the height of the control.(Inherited from Control.)

HorizontalScr This API supports the product infrastructure and is not intended to be used directly
oll from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

HScroll Gets or sets a value indicating whether the horizontal scroll bar is visible.(Inherited
from ScrollableControl.)

ImageList Gets or sets the image list that contains the image displayed on a ToolStrip item.
(Inherited from ToolStrip.)

ImageScaling Gets or sets the size, in pixels, of an image used on a ToolStrip.(Inherited from
Size ToolStrip.)

ImeMode Gets or sets the Input Method Editor (IME) mode of the control.(Inherited from
Control.)

ImeModeBas Gets or sets the IME mode of a control.(Inherited from Control.)


e

InvokeRequir Gets a value indicating whether the caller must call an invoke method when making
ed method calls to the control because the caller is on a different thread than the one
the control was created on.(Inherited from Control.)

IsAccessible Gets or sets a value indicating whether the control is visible to accessibility
applications.(Inherited from Control.)

IsCurrentlyDr Gets a value indicating whether the user is currently moving the ToolStrip from one
agging ToolStripContainer to another. (Inherited from ToolStrip.)

IsDisposed Gets a value indicating whether the control has been disposed of.(Inherited from
Control.)

IsDropDown Gets a value indicating whether a ToolStrip is a ToolStripDropDown control.


(Inherited from ToolStrip.)

IsHandleCrea Gets a value indicating whether the control has a handle associated with it.(Inherited
ted from Control.)

IsMirrored Gets a value indicating whether the control is mirrored.(Inherited from Control.)

Items Gets all the items that belong to a ToolStrip.(Inherited from ToolStrip.)

LayoutEngine Passes a reference to the cached LayoutEngine returned by the layout engine
interface.(Inherited from ToolStrip.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 6/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

LayoutSetting Gets or sets layout scheme characteristics.(Inherited from ToolStrip.)


s

LayoutStyle Gets or sets a value indicating how the ToolStrip lays out the items collection.
(Inherited from ToolStrip.)

Left Gets or sets the distance, in pixels, between the left edge of the control and the left
edge of its container's client area.(Inherited from Control.)

Location Gets or sets the coordinates of the upper-left corner of the control relative to the
upper-left corner of its container.(Inherited from Control.)

Margin Gets or sets the space between controls.(Inherited from Control.)

MaximumSize Gets or sets the size that is the upper limit that GetPreferredSize can specify.
(Inherited from Control.)

MaxItemSize Gets the maximum height and width, in pixels, of the ToolStrip.(Inherited from
ToolStrip.)

MinimumSize Gets or sets the size that is the lower limit that GetPreferredSize can specify.
(Inherited from Control.)

MoveFirstIte Gets or sets the ToolStripItem that is associated with the Move First functionality.
m

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

MoveNextIte Gets or sets the ToolStripItem that is associated with the Move Next functionality.
m

MovePreviou Gets or sets the ToolStripItem that is associated with the Move Previous
sItem functionality.

Name Gets or sets the name of the control.(Inherited from Control.)

Orientation Gets the orientation of the ToolStripPanel.(Inherited from ToolStrip.)

OverflowButt Gets the ToolStripItem that is the overflow button for a ToolStrip with overflow
on enabled.(Inherited from ToolStrip.)

Padding Gets or sets padding within the control.(Inherited from Control.)

Parent Gets or sets the parent container of the control.(Inherited from Control.)

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

PreferredSize Gets the size of a rectangular area into which the control can fit.(Inherited from
Control.)

ProductName Gets the product name of the assembly containing the control.(Inherited from
Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 7/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ProductVersi Gets the version of the assembly containing the control.(Inherited from Control.)
on

RecreatingHa Gets a value indicating whether the control is currently re-creating its handle.
ndle (Inherited from Control.)

Region Gets or sets the window region associated with the control.(Inherited from Control.)

Renderer Gets or sets a ToolStripRenderer used to customize the look and feel of a
ToolStrip.(Inherited from ToolStrip.)

RenderMode Gets or sets a value that indicates which visual styles will be applied to the
ToolStrip.(Inherited from ToolStrip.)

RenderRightT Obsolete. This property is now obsolete.(Inherited from Control.)


oLeft

ResizeRedra Gets or sets a value indicating whether the control redraws itself when resized.
w (Inherited from Control.)

Right Gets the distance, in pixels, between the right edge of the control and the left edge
of its container's client area.(Inherited from Control.)

RightToLeft Gets or sets a value indicating whether control's elements are aligned to support
locales using right-to-left fonts.(Inherited from Control.)

ScaleChildren Gets a value that determines the scaling of child controls. (Inherited from Control.)

ShowFocusCu Gets a value indicating whether the control should display focus rectangles.
es (Inherited from Control.)

ShowItemToo Gets or sets a value indicating whether ToolTips are to be displayed on ToolStrip
lTips items. (Inherited from ToolStrip.)

ShowKeyboar Gets a value indicating whether the user interface is in the appropriate state to
dCues show or hide keyboard accelerators.(Inherited from Control.)

Site Gets or sets the site of the control.(Inherited from Control.)

Size Gets or sets the height and width of the control.(Inherited from Control.)

Stretch Gets or sets a value indicating whether the ToolStrip stretches from end to end in
the ToolStripContainer.(Inherited from ToolStrip.)

TabIndex Gets or sets the tab order of the control within its container.(Inherited from
Control.)

TabStop Gets or sets a value indicating whether the user can give the focus to an item in the
ToolStrip using the TAB key.(Inherited from ToolStrip.)

Tag Gets or sets the object that contains data about the control.(Inherited from Control.)

Text Gets or sets the text associated with this control.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 8/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

TextDirection Gets or sets the direction in which to draw text on a ToolStrip.(Inherited from
ToolStrip.)

Top Gets or sets the distance, in pixels, between the top edge of the control and the top
edge of its container's client area.(Inherited from Control.)

TopLevelCont Gets the parent control that is not parented by another Windows Forms control.
rol Typically, this is the outermost Form that the control is contained in.(Inherited from
Control.)

UseWaitCurs Gets or sets a value indicating whether to use the wait cursor for the current control
or and all child controls.(Inherited from Control.)

VerticalScroll This API supports the product infrastructure and is not intended to be used directly
from your code. This property is not relevant for this class.(Inherited from
ToolStrip.)

Visible Gets or sets a value indicating whether the control and all its child controls are
displayed.(Inherited from Control.)

VScroll Gets or sets a value indicating whether the vertical scroll bar is visible.(Inherited
from ScrollableControl.)

Width Gets or sets the width of the control.(Inherited from Control.)

WindowTarg This API supports the product infrastructure and is not intended to be used directly
et from your code. This property is not relevant for this class.(Inherited from Control.)

Methods

Name Description

AccessibilityNoti Notifies the accessibility client applications of the specified AccessibleEvents for
fyClients(Accessi the specified child control.(Inherited from Control.)
bleEvents, 
Int32)

AccessibilityNoti Notifies the accessibility client applications of the specified AccessibleEvents for
fyClients(Accessi the specified child control .(Inherited from Control.)
bleEvents, 
Int32, Int32)

AddStandardIte Adds the standard set of navigation items to the BindingNavigator control.
ms()

AdjustFormScrol Adjusts the scroll bars on the container based on the current control positions
lbars(Boolean) and the control currently selected. (Inherited from ScrollableControl.)

BeginInit() Disables updates to the ToolStripItem controls of the BindingNavigator during


the component's initialization.

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 9/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

BeginInvoke(Del Executes the specified delegate asynchronously on the thread that the control's
egate) underlying handle was created on.(Inherited from Control.)

BeginInvoke(Del Executes the specified delegate asynchronously with the specified arguments, on
egate, Object[]) the thread that the control's underlying handle was created on.(Inherited from
Control.)

BringToFront() Brings the control to the front of the z-order.(Inherited from Control.)

Contains(Contro Retrieves a value indicating whether the specified control is a child of the control.
l) (Inherited from Control.)

CreateAccessibil Creates a new accessibility object for the ToolStrip item.(Inherited from
ityInstance() ToolStrip.)

CreateControl() Forces the creation of the visible control, including the creation of the handle and
any visible child controls.(Inherited from Control.)

CreateControlsI Creates a new instance of the control collection for the control.(Inherited from
nstance() ToolStrip.)

CreateDefaultIte Creates a default ToolStripItem with the specified text, image, and event handler
m(String,  on a new ToolStrip instance.(Inherited from ToolStrip.)
Image, 
EventHandler)

CreateGraphics( Creates the Graphics for the control.(Inherited from Control.)


)

CreateHandle() Creates a handle for the control.(Inherited from Control.)

CreateLayoutSet Specifies the visual arrangement for the ToolStrip.(Inherited from ToolStrip.)
tings(ToolStripL
ayoutStyle)

CreateObjRef(Ty Creates an object that contains all the relevant information required to generate
pe) a proxy used to communicate with a remote object.(Inherited from
MarshalByRefObject.)

DefWndProc(M Sends the specified message to the default window procedure.(Inherited from
essage) Control.)

DestroyHandle() Destroys the handle associated with the control.(Inherited from Control.)

Dispose() Releases all resources used by the Component.(Inherited from Component.)

Dispose(Boolea Releases the unmanaged resources used by the BindingNavigator and optionally
n) releases the managed resources. (Overrides ToolStrip.Dispose(Boolean).)

DoDragDrop(O Begins a drag-and-drop operation.(Inherited from Control.)


bject, 
DragDropEffect
s)

DrawToBitmap( Supports rendering to the specified bitmap.(Inherited from Control.)


Bitmap, 
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 10/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

Rectangle)

EndInit() Enables updates to the ToolStripItem controls of the BindingNavigator after the
component's initialization has concluded.

EndInvoke(IAsyn Retrieves the return value of the asynchronous operation represented by the
cResult) IAsyncResult passed.(Inherited from Control.)

Equals(Object) Determines whether the specified object is equal to the current object.(Inherited
from Object.)

Finalize() Releases unmanaged resources and performs other cleanup operations before
the Component is reclaimed by garbage collection.(Inherited from Component.)

FindForm() Retrieves the form that the control is on.(Inherited from Control.)

Focus() Sets input focus to the control.(Inherited from Control.)

GetAccessibility Retrieves the specified AccessibleObject.(Inherited from Control.)


ObjectById(Int32
)

GetAutoSizeMo Retrieves a value indicating how a control will behave when its AutoSize property
de() is enabled.(Inherited from Control.)

GetChildAtPoint( This API supports the product infrastructure and is not intended to be used
Point) directly from your code. This method is not relevant for this class.(Inherited from
ToolStrip.)

GetChildAtPoint( This API supports the product infrastructure and is not intended to be used
Point,  directly from your code. This method is not relevant for this class.(Inherited from
GetChildAtPoint ToolStrip.)
Skip)

GetContainerCo Returns the next ContainerControl up the control's chain of parent controls.
ntrol() (Inherited from Control.)

GetHashCode() Serves as the default hash function. (Inherited from Object.)

GetItemAt(Int32, Returns the item located at the specified x- and y-coordinates of the ToolStrip
 Int32) client area.(Inherited from ToolStrip.)

GetItemAt(Point) Returns the item located at the specified point in the client area of the ToolStrip.
(Inherited from ToolStrip.)

GetLifetimeServi Retrieves the current lifetime service object that controls the lifetime policy for
ce() this instance.(Inherited from MarshalByRefObject.)

GetNextControl( Retrieves the next control forward or back in the tab order of child controls.
Control,  (Inherited from Control.)
Boolean)

GetNextItem(To Retrieves the next ToolStripItem from the specified reference point and moving in
olStripItem,  the specified direction.(Inherited from ToolStrip.)
ArrowDirection)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 11/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

GetPreferredSiz Retrieves the size of a rectangular area into which a control can be fitted.
e(Size) (Inherited from Control.)

GetScaledBound Retrieves the bounds within which the control is scaled.(Inherited from Control.)
s(Rectangle, 
SizeF, 
BoundsSpecifie
d)

GetScrollState(In Determines whether the specified flag has been set.(Inherited from
t32) ScrollableControl.)

GetService(Type Returns an object that represents a service provided by the Component or by its
) Container.(Inherited from Component.)

GetStyle(Control Retrieves the value of the specified control style bit for the control.(Inherited from
Styles) Control.)

GetTopLevel() Determines if the control is a top-level control.(Inherited from Control.)

GetType() Gets the Type of the current instance.(Inherited from Object.)

Hide() Conceals the control from the user.(Inherited from Control.)

InitializeLifetime Obtains a lifetime service object to control the lifetime policy for this instance.
Service() (Inherited from MarshalByRefObject.)

InitLayout() Called after the control has been added to another container.(Inherited from
Control.)

Invalidate() Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from Control.)

Invalidate(Boole Invalidates a specific region of the control and causes a paint message to be
an) sent to the control. Optionally, invalidates the child controls assigned to the
control.(Inherited from Control.)

Invalidate(Recta Invalidates the specified region of the control (adds it to the control's update
ngle) region, which is the area that will be repainted at the next paint operation), and
causes a paint message to be sent to the control.(Inherited from Control.)

Invalidate(Recta Invalidates the specified region of the control (adds it to the control's update
ngle, Boolean) region, which is the area that will be repainted at the next paint operation), and
causes a paint message to be sent to the control. Optionally, invalidates the child
controls assigned to the control.(Inherited from Control.)

Invalidate(Regio Invalidates the specified region of the control (adds it to the control's update
n) region, which is the area that will be repainted at the next paint operation), and
causes a paint message to be sent to the control.(Inherited from Control.)

Invalidate(Regio Invalidates the specified region of the control (adds it to the control's update
n, Boolean) region, which is the area that will be repainted at the next paint operation), and
causes a paint message to be sent to the control. Optionally, invalidates the child
controls assigned to the control.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 12/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

Invoke(Delegate Executes the specified delegate on the thread that owns the control's underlying
) window handle.(Inherited from Control.)

Invoke(Delegate Executes the specified delegate, on the thread that owns the control's underlying
, Object[]) window handle, with the specified list of arguments.(Inherited from Control.)

InvokeGotFocus( Raises the GotFocus event for the specified control.(Inherited from Control.)
Control, 
EventArgs)

InvokeLostFocus Raises the LostFocus event for the specified control.(Inherited from Control.)
(Control, 
EventArgs)

InvokeOnClick(C Raises the Click event for the specified control.(Inherited from Control.)
ontrol, 
EventArgs)

InvokePaint(Con Raises the Paint event for the specified control.(Inherited from Control.)
trol, 
PaintEventArgs)

InvokePaintBack Raises the PaintBackground event for the specified control.(Inherited from
ground(Control, Control.)

PaintEventArgs)

IsInputChar(Cha Determines whether a character is an input character that the item recognizes.
r) (Inherited from ToolStrip.)

IsInputKey(Keys) Determines whether the specified key is a regular input key or a special key that
requires preprocessing.(Inherited from ToolStrip.)

LogicalToDevice Converts a Logical DPI value to it's equivalent DeviceUnit DPI value.(Inherited from
Units(Int32) Control.)

MemberwiseClo Creates a shallow copy of the current Object.(Inherited from Object.)


ne()

MemberwiseClo Creates a shallow copy of the current MarshalByRefObject object.(Inherited from


ne(Boolean) MarshalByRefObject.)

NotifyInvalidate( This API supports the product infrastructure and is not intended to be used
Rectangle) directly from your code. Raises the Invalidated event with a specified region of
the control to invalidate.(Inherited from Control.)

OnAutoSizeCha Raises the AutoSizeChanged event. (Inherited from Control.)


nged(EventArgs
)

OnBackColorCh Raises the BackColorChanged event.(Inherited from Control.)


anged(EventArg
s)

OnBackgroundI Raises the BackgroundImageChanged event.(Inherited from Control.)


mageChanged(
EventArgs)
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 13/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

OnBackgroundI Raises the BackgroundImageLayoutChanged event.(Inherited from Control.)


mageLayoutCha
nged(EventArgs
)

OnBeginDrag(Ev Raises the BeginDrag event. (Inherited from ToolStrip.)


entArgs)

OnBindingConte Raises the BindingContextChanged event.(Inherited from Control.)


xtChanged(Even
tArgs)

OnCausesValida Raises the CausesValidationChanged event.(Inherited from Control.)


tionChanged(Ev
entArgs)

OnChangeUICue Raises the ChangeUICues event.(Inherited from Control.)


s(UICuesEventAr
gs)

OnClick(EventAr Raises the Click event.(Inherited from Control.)


gs)

OnClientSizeCha Raises the ClientSizeChanged event. (Inherited from Control.)


nged(EventArgs
)

OnContextMenu Raises the ContextMenuChanged event.(Inherited from Control.)


Changed(EventA
rgs)

OnContextMenu Raises the ContextMenuStripChanged event.(Inherited from Control.)


StripChanged(E
ventArgs)

OnControlAdde Raises the ControlAdded event.(Inherited from Control.)


d(ControlEventA
rgs)

OnControlRemo Raises the ControlRemoved event.(Inherited from Control.)


ved(ControlEven
tArgs)

OnCreateContro Raises the CreateControl method.(Inherited from Control.)


l()

OnCursorChang Raises the CursorChanged event.(Inherited from Control.)


ed(EventArgs)

OnDockChange Raises the DockChanged event. (Inherited from ToolStrip.)


d(EventArgs)

OnDoubleClick( Raises the DoubleClick event.(Inherited from Control.)


EventArgs)

OnDpiChanged Raises the DpiChangedAfterParent event.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 14/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

AfterParent(Eve
ntArgs)

OnDpiChanged Raises the DpiChangedBeforeParent event. (Inherited from Control.)


BeforeParent(Ev
entArgs)

OnDragDrop(Dr Raises the DragDrop event.(Inherited from Control.)


agEventArgs)

OnDragEnter(Dr Raises the DragEnter event.(Inherited from Control.)


agEventArgs)

OnDragLeave(E Raises the DragLeave event.(Inherited from Control.)


ventArgs)

OnDragOver(Dr Raises the DragOver event.(Inherited from Control.)


agEventArgs)

OnEnabledChan Raises the Enabled event.(Inherited from ToolStrip.)


ged(EventArgs)

OnEndDrag(Eve Raises the EndDrag event.(Inherited from ToolStrip.)


ntArgs)

OnEnter(EventAr Raises the Enter event.(Inherited from Control.)


gs)

OnFontChanged Raises the FontChanged event.(Inherited from ToolStrip.)


(EventArgs)

OnForeColorCh Raises the ForeColorChanged event.(Inherited from Control.)


anged(EventArg
s)

OnGiveFeedbac Raises the GiveFeedback event.(Inherited from Control.)


k(GiveFeedback
EventArgs)

OnGotFocus(Eve Raises the GotFocus event.(Inherited from Control.)


ntArgs)

OnHandleCreat Raises the HandleCreated event.(Inherited from ToolStrip.)


ed(EventArgs)

OnHandleDestr Raises the HandleDestroyed event.(Inherited from ToolStrip.)


oyed(EventArgs)

OnHelpRequest Raises the HelpRequested event.(Inherited from Control.)


ed(HelpEventAr
gs)

OnImeModeCha Raises the ImeModeChanged event.(Inherited from Control.)


nged(EventArgs
)

OnInvalidated(In Raises the Invalidated event.(Inherited from ToolStrip.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 15/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

validateEventAr
gs)

OnItemAdded(T Raises the ItemAdded event.(Inherited from ToolStrip.)


oolStripItemEve
ntArgs)

OnItemClicked(T Raises the ItemClicked event.(Inherited from ToolStrip.)


oolStripItemClic
kedEventArgs)

OnItemRemove Raises the ItemRemoved event.(Inherited from ToolStrip.)


d(ToolStripItem
EventArgs)

OnKeyDown(Ke Raises the KeyDown event.(Inherited from Control.)


yEventArgs)

OnKeyPress(Key Raises the KeyPress event.(Inherited from Control.)


PressEventArgs)

OnKeyUp(KeyEv Raises the KeyUp event.(Inherited from Control.)


entArgs)

OnLayout(Layou Raises the Layout event.(Inherited from ToolStrip.)


tEventArgs)

OnLayoutCompl Raises the LayoutCompleted event.(Inherited from ToolStrip.)


eted(EventArgs)

OnLayoutStyleC Raises the LayoutStyleChanged event.(Inherited from ToolStrip.)


hanged(EventAr
gs)

OnLeave(EventA Raises the Leave event.(Inherited from ToolStrip.)


rgs)

OnLocationChan Raises the LocationChanged event.(Inherited from Control.)


ged(EventArgs)

OnLostFocus(Ev Raises the LostFocus event.(Inherited from ToolStrip.)


entArgs)

OnMarginChan Raises the MarginChanged event. (Inherited from Control.)


ged(EventArgs)

OnMouseCaptu Raises the MouseCaptureChanged event.(Inherited from ToolStrip.)


reChanged(Even
tArgs)

OnMouseClick( Raises the MouseClick event.(Inherited from Control.)


MouseEventArg
s)

OnMouseDoubl Raises the MouseDoubleClick event.(Inherited from Control.)


eClick(MouseEv
entArgs)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 16/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

OnMouseDown( Raises the MouseDown event.(Inherited from ToolStrip.)


MouseEventArg
s)

OnMouseEnter( Raises the MouseEnter event.(Inherited from Control.)


EventArgs)

OnMouseHover Raises the MouseHover event.(Inherited from Control.)


(EventArgs)

OnMouseLeave( Raises the MouseLeave event.(Inherited from ToolStrip.)


EventArgs)

OnMouseMove( Raises the MouseMove event.(Inherited from ToolStrip.)


MouseEventArg
s)

OnMouseUp(M Raises the MouseUp event.(Inherited from ToolStrip.)


ouseEventArgs)

OnMouseWheel Raises the MouseWheel event.(Inherited from ScrollableControl.)


(MouseEventAr
gs)

OnMove(EventA Raises the Move event.(Inherited from Control.)


rgs)

OnNotifyMessa Notifies the control of Windows messages.(Inherited from Control.)


ge(Message)

OnPaddingChan Raises the PaddingChanged event.(Inherited from ScrollableControl.)


ged(EventArgs)

OnPaint(PaintEv Raises the Paint event.(Inherited from ToolStrip.)


entArgs)

OnPaintBackgro Raises the Paint event for the ToolStrip background.(Inherited from ToolStrip.)
und(PaintEventA
rgs)

OnPaintGrip(Pai Raises the PaintGrip event.(Inherited from ToolStrip.)


ntEventArgs)

OnParentBackC Raises the BackColorChanged event when the BackColor property value of the
olorChanged(Ev control's container changes.(Inherited from Control.)
entArgs)

OnParentBackgr Raises the BackgroundImageChanged event when the BackgroundImage property


oundImageChan value of the control's container changes.(Inherited from Control.)
ged(EventArgs)

OnParentBindin Raises the BindingContextChanged event when the BindingContext property value
gContextChang of the control's container changes.(Inherited from Control.)
ed(EventArgs)

OnParentChang Raises the ParentChanged event.(Inherited from Control.)


ed(EventArgs)
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 17/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

OnParentCursor Raises the CursorChanged event.(Inherited from Control.)


Changed(EventA
rgs)

OnParentEnable Raises the EnabledChanged event when the Enabled property value of the
dChanged(Event control's container changes.(Inherited from Control.)
Args)

OnParentFontCh Raises the FontChanged event when the Font property value of the control's
anged(EventArg container changes.(Inherited from Control.)
s)

OnParentForeC Raises the ForeColorChanged event when the ForeColor property value of the
olorChanged(Ev control's container changes.(Inherited from Control.)
entArgs)

OnParentRightT Raises the RightToLeftChanged event when the RightToLeft property value of the
oLeftChanged(E control's container changes.(Inherited from Control.)
ventArgs)

OnParentVisible Raises the VisibleChanged event when the Visible property value of the control's
Changed(EventA container changes.(Inherited from Control.)
rgs)

OnPreviewKeyD Raises the PreviewKeyDown event.(Inherited from Control.)


own(PreviewKey
DownEventArgs)

OnPrint(PaintEve Raises the Paint event. (Inherited from Control.)


ntArgs)

OnQueryContin Raises the QueryContinueDrag event.(Inherited from Control.)


ueDrag(QueryC
ontinueDragEve
ntArgs)

OnRefreshItems Raises the RefreshItems event.


()

OnRegionChang Raises the RegionChanged event. (Inherited from Control.)


ed(EventArgs)

OnRendererCha Raises the RendererChanged event.(Inherited from ToolStrip.)


nged(EventArgs
)

OnResize(Event Raises the Resize event.(Inherited from Control.)


Args)

OnRightToLeftC Raises the RightToLeftChanged event.(Inherited from ToolStrip.)


hanged(EventAr
gs)

OnScroll(ScrollE Raises the Scroll event.(Inherited from ToolStrip.)


ventArgs)

OnSizeChanged Raises the SizeChanged event.(Inherited from Control.)


https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 18/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

(EventArgs)

OnStyleChange Raises the StyleChanged event.(Inherited from Control.)


d(EventArgs)

OnSystemColor Raises the SystemColorsChanged event.(Inherited from Control.)


sChanged(Event
Args)

OnTabIndexCha Raises the TabIndexChanged event.(Inherited from Control.)


nged(EventArgs
)

OnTabStopChan Raises the TabStopChanged event. (Inherited from ToolStrip.)


ged(EventArgs)

OnTextChanged Raises the TextChanged event.(Inherited from Control.)


(EventArgs)

OnValidated(Ev Raises the Validated event.(Inherited from Control.)


entArgs)

OnValidating(Ca Raises the Validating event.(Inherited from Control.)


ncelEventArgs)

OnVisibleChang Raises the VisibleChanged event.(Inherited from ToolStrip.)


ed(EventArgs)

PerformLayout() Forces the control to apply layout logic to all its child controls.(Inherited from
Control.)

PerformLayout( Forces the control to apply layout logic to all its child controls.(Inherited from
Control, String) Control.)

PointToClient(Po Computes the location of the specified screen point into client coordinates.
int) (Inherited from Control.)

PointToScreen(P Computes the location of the specified client point into screen coordinates.
oint) (Inherited from Control.)

PreProcessCont Preprocesses keyboard or input messages within the message loop before they
rolMessage(Me are dispatched.(Inherited from Control.)
ssage)

PreProcessMess Preprocesses keyboard or input messages within the message loop before they
age(Message) are dispatched.(Inherited from Control.)

ProcessCmdKey Processes a command key.(Inherited from ToolStrip.)


(Message, 
Keys)

ProcessDialogC Processes a dialog character.(Inherited from Control.)


har(Char)

ProcessDialogK Processes a dialog box key.(Inherited from ToolStrip.)


ey(Keys)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 19/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ProcessKeyEven Processes a key message and generates the appropriate control events.
tArgs(Message) (Inherited from Control.)

ProcessKeyMes Processes a keyboard message.(Inherited from Control.)


sage(Message)

ProcessKeyPrevi Previews a keyboard message.(Inherited from Control.)


ew(Message)

ProcessMnemo Processes a mnemonic character.(Inherited from ToolStrip.)


nic(Char)

RaiseDragEvent( This API supports the product infrastructure and is not intended to be used
Object,  directly from your code. Raises the appropriate drag event.(Inherited from
DragEventArgs) Control.)

RaiseKeyEvent( This API supports the product infrastructure and is not intended to be used
Object,  directly from your code. Raises the appropriate key event.(Inherited from
KeyEventArgs) Control.)

RaiseMouseEve This API supports the product infrastructure and is not intended to be used
nt(Object,  directly from your code. Raises the appropriate mouse event.(Inherited from
MouseEventArg Control.)
s)

RaisePaintEvent( This API supports the product infrastructure and is not intended to be used
Object,  directly from your code. Raises the appropriate paint event.(Inherited from
PaintEventArgs) Control.)

RecreateHandle Forces the re-creation of the handle for the control.(Inherited from Control.)
()

RectangleToClie Computes the size and location of the specified screen rectangle in client
nt(Rectangle) coordinates.(Inherited from Control.)

RectangleToScr Computes the size and location of the specified client rectangle in screen
een(Rectangle) coordinates.(Inherited from Control.)

Refresh() Forces the control to invalidate its client area and immediately redraw itself and
any child controls.(Inherited from Control.)

RefreshItemsCo Refreshes the state of the standard items to reflect the current state of the data.
re()

RescaleConstant Provides constants for rescaling the control when a DPI change occurs.(Inherited
sForDpi(Int32,  from Control.)
Int32)

ResetBackColor( Resets the BackColor property to its default value.(Inherited from Control.)
)

ResetBindings() Causes a control bound to the BindingSource to reread all the items in the list
and refresh their displayed values.(Inherited from Control.)

ResetCursor() Resets the Cursor property to its default value.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 20/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ResetFont() Resets the Font property to its default value.(Inherited from Control.)

ResetForeColor( Resets the ForeColor property to its default value.(Inherited from Control.)
)

ResetImeMode( Resets the ImeMode property to its default value.(Inherited from Control.)
)

ResetMinimumS This API supports the product infrastructure and is not intended to be used
ize() directly from your code. This method is not relevant for this class.(Inherited from
ToolStrip.)

ResetMouseEve This API supports the product infrastructure and is not intended to be used
ntArgs() directly from your code. Resets the control to handle the MouseLeave event.
(Inherited from Control.)

ResetRightToLef Resets the RightToLeft property to its default value.(Inherited from Control.)
t()

ResetText() Resets the Text property to its default value.(Inherited from Control.)

RestoreFocus() Controls the return location of the focus.(Inherited from ToolStrip.)

ResumeLayout() Resumes usual layout logic.(Inherited from Control.)

ResumeLayout(B Resumes usual layout logic, optionally forcing an immediate layout of pending
oolean) layout requests.(Inherited from Control.)

RtlTranslateAlig Converts the specified ContentAlignment to the appropriate ContentAlignment to


nment(ContentA support right-to-left text.(Inherited from Control.)
lignment)

RtlTranslateAlig Converts the specified HorizontalAlignment to the appropriate


nment(Horizont HorizontalAlignment to support right-to-left text.(Inherited from Control.)
alAlignment)

RtlTranslateAlig Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment


nment(LeftRight to support right-to-left text.(Inherited from Control.)
Alignment)

RtlTranslateCont Converts the specified ContentAlignment to the appropriate ContentAlignment to


ent(ContentAlig support right-to-left text.(Inherited from Control.)
nment)

RtlTranslateHori Converts the specified HorizontalAlignment to the appropriate


zontal(Horizont HorizontalAlignment to support right-to-left text.(Inherited from Control.)
alAlignment)

RtlTranslateLeft Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment


Right(LeftRightA to support right-to-left text.(Inherited from Control.)
lignment)

Scale(Single) Obsolete. Scales the control and any child controls.(Inherited from Control.)

Scale(Single,  Obsolete. Scales the entire control and any child controls.(Inherited from
Single) Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 21/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

Scale(SizeF) Scales the control and all child controls by the specified scaling factor.(Inherited
from Control.)

ScaleBitmapLogi Scales a logical bitmap value to it's equivalent device unit value when a DPI
calToDevice(Bit change occurs.(Inherited from Control.)
map)

ScaleControl(Siz Scales a control's location, size, padding and margin.(Inherited from


eF,  ScrollableControl.)
BoundsSpecifie
d)

ScaleCore(Singl This method is not relevant for this class.(Inherited from ScrollableControl.)
e, Single)

ScrollControlInt Scrolls the specified child control into view on an auto-scroll enabled control.
oView(Control) (Inherited from ScrollableControl.)

ScrollToControl( Calculates the scroll offset to the specified child control. (Inherited from
Control) ScrollableControl.)

Select() Activates the control.(Inherited from Control.)

Select(Boolean,  Activates a child control. Optionally specifies the direction in the tab order to
Boolean) select the control from.(Inherited from ToolStrip.)

SelectNextContr Activates the next control.(Inherited from Control.)


ol(Control, 
Boolean, 
Boolean, 
Boolean, 
Boolean)

SendToBack() Sends the control to the back of the z-order.(Inherited from Control.)

SetAutoScrollM This method is not relevant for this class.(Inherited from ToolStrip.)
argin(Int32, 
Int32)

SetAutoSizeMo Sets a value indicating how a control will behave when its AutoSize property is
de(AutoSizeMo enabled.(Inherited from Control.)
de)

SetBounds(Int32 Sets the bounds of the control to the specified location and size.(Inherited from
, Int32, Int32,  Control.)
Int32)

SetBounds(Int32 Sets the specified bounds of the control to the specified location and size.
, Int32, Int32,  (Inherited from Control.)
Int32, 
BoundsSpecifie
d)

SetBoundsCore( Performs the work of setting the specified bounds of this control.(Inherited from
Int32, Int32,  ToolStrip.)
Int32, Int32, 

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 22/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

BoundsSpecifie
d)

SetClientSizeCor Sets the size of the client area of the control.(Inherited from Control.)
e(Int32, Int32)

SetDisplayedIte Resets the collection of displayed and overflow items after a layout is done.
ms() (Inherited from ToolStrip.)

SetDisplayRectL Positions the display window to the specified value.(Inherited from


ocation(Int32,  ScrollableControl.)
Int32)

SetItemLocation Anchors a ToolStripItem to a particular place on a ToolStrip.(Inherited from


(ToolStripItem,  ToolStrip.)
Point)

SetScrollState(In Sets the specified scroll state flag.(Inherited from ScrollableControl.)


t32, Boolean)

SetStyle(Control Sets a specified ControlStyles flag to either true or false.(Inherited from Control.)
Styles, Boolean)

SetTopLevel(Bo Sets the control as the top-level control.(Inherited from Control.)


olean)

SetVisibleCore(B Retrieves a value that sets the ToolStripItem to the specified visibility state.
oolean) (Inherited from ToolStrip.)

Show() Displays the control to the user.(Inherited from Control.)

SizeFromClientSi Determines the size of the entire control from the height and width of its client
ze(Size) area.(Inherited from Control.)

SuspendLayout( Temporarily suspends the layout logic for the control.(Inherited from Control.)
)

ToString() Returns a string that represents the ToolStrip control.(Inherited from ToolStrip.)

Update() Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control.)

UpdateBounds() Updates the bounds of the control with the current size and location.(Inherited
from Control.)

UpdateBounds(I Updates the bounds of the control with the specified size and location.(Inherited
nt32, Int32,  from Control.)
Int32, Int32)

UpdateBounds(I Updates the bounds of the control with the specified size, location, and client
nt32, Int32,  size.(Inherited from Control.)
Int32, Int32, 
Int32, Int32)

UpdateStyles() Forces the assigned styles to be reapplied to the control.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 23/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

UpdateZOrder() Updates the control in its parent's z-order.(Inherited from Control.)

Validate() Causes form validation to occur and returns whether validation was successful.

WndProc(Messa Processes Windows messages.(Inherited from ToolStrip.)


ge)

Events

Name Description

AutoSizeChang Occurs when the AutoSize property has changed.(Inherited from ToolStrip.)
ed

BackColorChan Occurs when the value of the BackColor property changes.(Inherited from Control.)
ged

BackgroundIm Occurs when the value of the BackgroundImage property changes.(Inherited from
ageChanged Control.)

BackgroundIm Occurs when the BackgroundImageLayout property changes.(Inherited from


ageLayoutCha Control.)
nged

BeginDrag Occurs when the user begins to drag the ToolStrip control.(Inherited from
ToolStrip.)

BindingContext Occurs when the value of the BindingContext property changes.(Inherited from
Changed Control.)

CausesValidati Occurs when the CausesValidation property changes.(Inherited from ToolStrip.)


onChanged

ChangeUICues Occurs when the focus or keyboard user interface (UI) cues change.(Inherited from
Control.)

Click Occurs when the control is clicked.(Inherited from Control.)

ClientSizeChan Occurs when the value of the ClientSize property changes. (Inherited from Control.)
ged

ContextMenuC Occurs when the value of the ContextMenu property changes.(Inherited from
hanged Control.)

ContextMenuSt Occurs when the value of the ContextMenuStrip property changes. (Inherited from
ripChanged Control.)

ControlAdded This API supports the product infrastructure and is not intended to be used
directly from your code. This event is not relevant for this class.(Inherited from
ToolStrip.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 24/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ControlRemov This API supports the product infrastructure and is not intended to be used
ed directly from your code. This event is not relevant for this class.(Inherited from
ToolStrip.)

CursorChange Occurs when the value of the Cursor property changes.(Inherited from ToolStrip.)
d

Disposed Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)

DockChanged Occurs when the value of the Dock property changes.(Inherited from Control.)

DoubleClick Occurs when the control is double-clicked.(Inherited from Control.)

DpiChangedAft Occurs when the DPI setting for a control is changed programmatically after the
erParent DPI of it's parent control or form has changed.(Inherited from Control.)

DpiChangedBe Occurs when the DPI setting for a control is changed programmatically before a
foreParent DPI change event for it's parent control or form has occurred.(Inherited from
Control.)

DragDrop Occurs when a drag-and-drop operation is completed.(Inherited from Control.)

DragEnter Occurs when an object is dragged into the control's bounds.(Inherited from
Control.)

DragLeave Occurs when an object is dragged out of the control's bounds.(Inherited from
Control.)

DragOver Occurs when an object is dragged over the control's bounds.(Inherited from
Control.)

EnabledChang Occurs when the Enabled property value has changed.(Inherited from Control.)
ed

EndDrag Occurs when the user stops dragging the ToolStrip control.(Inherited from
ToolStrip.)

Enter Occurs when the control is entered.(Inherited from Control.)

FontChanged Occurs when the Font property value changes.(Inherited from Control.)

ForeColorChan Occurs when the value of the ForeColor property changes.(Inherited from
ged ToolStrip.)

GiveFeedback Occurs during a drag operation.(Inherited from Control.)

GotFocus Occurs when the control receives focus.(Inherited from Control.)

HandleCreated Occurs when a handle is created for the control.(Inherited from Control.)

HandleDestroy Occurs when the control's handle is in the process of being destroyed.(Inherited
ed from Control.)

HelpRequeste Occurs when the user requests help for a control.(Inherited from Control.)
https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 25/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

ImeModeChan Occurs when the ImeMode property has changed.(Inherited from Control.)
ged

Invalidated Occurs when a control's display requires redrawing.(Inherited from Control.)

ItemAdded Occurs when a new ToolStripItem is added to the ToolStripItemCollection.


(Inherited from ToolStrip.)

ItemClicked Occurs when the ToolStripItem is clicked.(Inherited from ToolStrip.)

ItemRemoved Occurs when a ToolStripItem is removed from the ToolStripItemCollection.


(Inherited from ToolStrip.)

KeyDown Occurs when a key is pressed while the control has focus.(Inherited from Control.)

KeyPress Occurs when a character. space or backspace key is pressed while the control has
focus.(Inherited from Control.)

KeyUp Occurs when a key is released while the control has focus.(Inherited from Control.)

Layout Occurs when a control should reposition its child controls.(Inherited from Control.)

LayoutComplet Occurs when the layout of the ToolStrip is complete.(Inherited from ToolStrip.)
ed

LayoutStyleCha Occurs when the value of the LayoutStyle property changes.(Inherited from
nged ToolStrip.)

Leave Occurs when the input focus leaves the control.(Inherited from Control.)

LocationChang Occurs when the Location property value has changed.(Inherited from Control.)
ed

LostFocus Occurs when the control loses focus.(Inherited from Control.)

MarginChange Occurs when the control's margin changes.(Inherited from Control.)


d

MouseCapture Occurs when the control loses mouse capture.(Inherited from Control.)
Changed

MouseClick Occurs when the control is clicked by the mouse.(Inherited from Control.)

MouseDouble Occurs when the control is double clicked by the mouse.(Inherited from Control.)
Click

MouseDown Occurs when the mouse pointer is over the control and a mouse button is
pressed.(Inherited from Control.)

MouseEnter Occurs when the mouse pointer enters the control.(Inherited from Control.)

MouseHover Occurs when the mouse pointer rests on the control.(Inherited from Control.)

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 26/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

MouseLeave Occurs when the mouse pointer leaves the control.(Inherited from Control.)

MouseMove Occurs when the mouse pointer is moved over the control.(Inherited from
Control.)

MouseUp Occurs when the mouse pointer is over the control and a mouse button is
released.(Inherited from Control.)

MouseWheel Occurs when the mouse wheel moves while the control has focus.(Inherited from
Control.)

Move Occurs when the control is moved.(Inherited from Control.)

PaddingChang Occurs when the control's padding changes.(Inherited from Control.)


ed

Paint Occurs when the control is redrawn.(Inherited from Control.)

PaintGrip Occurs when the ToolStrip move handle is painted.(Inherited from ToolStrip.)

ParentChange Occurs when the Parent property value changes.(Inherited from Control.)
d

PreviewKeyDo Occurs before the KeyDown event when a key is pressed while focus is on this
wn control.(Inherited from Control.)

QueryAccessibi Occurs when AccessibleObject is providing help to accessibility applications.


lityHelp (Inherited from Control.)

QueryContinue Occurs during a drag-and-drop operation and enables the drag source to
Drag determine whether the drag-and-drop operation should be canceled.(Inherited
from Control.)

RefreshItems Occurs when the state of the navigational user interface (UI) needs to be refreshed
to reflect the current state of the underlying data.

RegionChange Occurs when the value of the Region property changes.(Inherited from Control.)
d

RendererChan Occurs when the value of the Renderer property changes.(Inherited from
ged ToolStrip.)

Resize Occurs when the control is resized.(Inherited from Control.)

RightToLeftCha Occurs when the RightToLeft property value changes.(Inherited from Control.)
nged

Scroll Occurs when the user or code scrolls through the client area.(Inherited from
ScrollableControl.)

SizeChanged Occurs when the Size property value changes.(Inherited from Control.)

StyleChanged Occurs when the control style changes.(Inherited from Control.)

SystemColorsC Occurs when the system colors change.(Inherited from Control.)


https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 27/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

hanged

TabIndexChan Occurs when the TabIndex property value changes.(Inherited from Control.)
ged

TabStopChang Occurs when the TabStop property value changes.(Inherited from Control.)
ed

TextChanged Occurs when the Text property value changes.(Inherited from Control.)

Validated Occurs when the control is finished validating.(Inherited from Control.)

Validating Occurs when the control is validating.(Inherited from Control.)

VisibleChange Occurs when the Visible property value changes.(Inherited from Control.)
d

Explicit Interface Implementations

Name Description

IDropTarget.OnDra This API supports the product infrastructure and is not intended to be used
gDrop(DragEventAr directly from your code. Raises the DragDrop event.(Inherited from Control.)
gs)

IDropTarget.OnDra This API supports the product infrastructure and is not intended to be used
gEnter(DragEventAr directly from your code. Raises the DragEnter event.(Inherited from Control.)
gs)

IDropTarget.OnDra This API supports the product infrastructure and is not intended to be used
gLeave(EventArgs) directly from your code. Raises the DragLeave event.(Inherited from Control.)

IDropTarget.OnDra This API supports the product infrastructure and is not intended to be used
gOver(DragEventAr directly from your code. Raises the DragOver event.(Inherited from Control.)
gs)

Remarks
The BindingNavigator control represents a standardized way to navigate and manipulate data on a form. In most cases,
a BindingNavigator is paired with a BindingSource control to move through data records on a form and interact with
them. In these cases, the BindingSource property is set to the associated System.Windows.Forms.BindingSource
component that acts as a data source.

By default, the BindingNavigator control's user interface (UI) is composed of a series of ToolStrip buttons, text boxes,
and static text elements for most common data-related actions, such as adding data, deleting data, and navigating
through data. Each of these controls can be retrieved or set through an associated member of the BindingNavigator
control. Likewise, there is also a one-to-one correspondence to members within the BindingSource class that
programmatically perform the same functionality, as shown in the following table.

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 28/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)

UI Control BindingNavigator member BindingSource member

Move First MoveFirstItem MoveFirst

Move Previous MovePreviousItem MovePrevious

Current Position PositionItem Current

Count CountItem Count

Move Next MoveNextItem MoveNext

Move Last MoveLastItem MoveLast

Add New AddNewItem AddNew

Delete DeleteItem RemoveCurrent

Adding a BindingNavigator control to a form and binding it to a data source, such as a BindingSource, will automatically
establish the relationships in this table.

You can use one of the following techniques to customize this toolbar:

Create the BindingNavigator with the BindingNavigator(Boolean) constructor, which accepts a Boolean
addStandardItems parameter, and set this parameter to false. Then add the desired ToolStripItem objects to the
Items collection.

If a great deal of customization is desired, or the custom design will be reused, derive a class from
BindingNavigator and override the AddStandardItems method to define additional or alternate standard items.

Examples
The following code example demonstrates how to use a BindingNavigator control to move through a data set. The set
is contained in a DataView, which is bound to a TextBox control with a BindingSource component.

C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Data.SqlClient;
using System.Windows.Forms;

// This form demonstrates using a BindingNavigator to display


// rows from a database query sequentially.
public class Form1 : Form
{
// This is the BindingNavigator that allows the user
// to navigate through the rows in a DataSet.
BindingNavigator customersBindingNavigator = new BindingNavigator(true);

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 29/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)
// This is the BindingSource that provides data for
// the Textbox control.
BindingSource customersBindingSource = new BindingSource();

// This is the TextBox control that displays the CompanyName


// field from the the DataSet.
TextBox companyNameTextBox = new TextBox();

public Form1()
{
// Set up the BindingSource component.
this.customersBindingNavigator.BindingSource = this.customersBindingSource;
this.customersBindingNavigator.Dock = DockStyle.Top;
this.Controls.Add(this.customersBindingNavigator);

// Set up the TextBox control for displaying company names.


this.companyNameTextBox.Dock = DockStyle.Bottom;
this.Controls.Add(this.companyNameTextBox);

// Set up the form.


this.Size = new Size(800, 200);
this.Load += new EventHandler(Form1_Load);
}

void Form1_Load(object sender, EventArgs e)


{
// Open a connection to the database.
// Replace the value of connectString with a valid
// connection string to a Northwind database accessible
// to your system.
string connectString =
"Integrated Security=SSPI;Persist Security Info=False;" +
"Initial Catalog=Northwind;Data Source=localhost";

using (SqlConnection connection = new SqlConnection(connectString))


{

SqlDataAdapter dataAdapter1 =
new SqlDataAdapter(new SqlCommand("Select * From Customers",connection));
DataSet ds = new DataSet("Northwind Customers");
ds.Tables.Add("Customers");
dataAdapter1.Fill(ds.Tables["Customers"]);

// Assign the DataSet as the DataSource for the BindingSource.


this.customersBindingSource.DataSource = ds.Tables["Customers"];

// Bind the CompanyName field to the TextBox control.


this.companyNameTextBox.DataBindings.Add(
new Binding("Text",
this.customersBindingSource,
"CompanyName",
true));
}
}

[STAThread]
public static void Main()
{
Application.EnableVisualStyles();
Application.Run(new Form1());

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 30/31
06/07/2017 BindingNavigator Class (System.Windows.Forms)
}
}

Version Information
.NET Framework
Available since 2.0

Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not
guaranteed to be thread safe.

See Also
BindingSource
System.Windows.Forms Namespace
BindingNavigator Control (Windows Forms)

Return to top
© 2017 Microsoft

https://msdn.microsoft.com/en-us/library/system.windows.forms.bindingnavigator(d=printer,v=vs.110).aspx 31/31

You might also like