Bar Methods

Represents a Windows-like toolbar.
Name Description
AddItem(BarItem) Adds a link to the Bar control.
AddItems(BarItem[]) Creates links to bar items passed as an array.
ApplyDockRowCol() Applies changes made by the Bar.DockCol and Bar.DockRow properties.
AskReset() Returns a Bar to its designed state.
BeginUpdate() Locks the Bar, preventing visual updates of the object and its elements until the EndUpdate or CancelUpdate method is called.
CancelUpdate() Unlocks the Bar object after it has been locked by the BeginUpdate method, without causing an immediate visual update.
ClearLinks() Removes all links from the Bar control.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndUpdate() Unlocks the Bar object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ForceUpdateBar() Forces the current Bar to be refreshed.
ForceUpdateLayout() Forces this Bar to redraw itself.
GetActualLinks() Retrieves the list of links currently displayed within this Bar.
GetBarControl() This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetLinkHorzIndent() Returns the actual horizontal indent, in pixels, between a bar item link's content and borders.
GetLinkHorzIndent(Single) Returns the actual horizontal indent, in pixels, between a bar item link's content and borders.
GetLinkVertIndent() Returns the actual vertical indent, in pixels, between a bar item link's content and borders.
GetLinkVertIndent(Single) Returns the actual vertical indent, in pixels, between a bar item link's content and borders.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
InsertItem(BarItemLink, BarItem) Inserts a link in the Bar at the specified index.
Invalidate() Updates a bar control.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
Merge(Bar) Adds the visible links from the specified bar onto the current bar.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RemoveLink(BarItemLink) Removes the first occurrence of a specific link from the Bar.
Reset() Returns a Bar to its designed state.
SetCurrentStateAsDefault() This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
ToString() Returns a String that represents the current Bar.
UnMerge() Restores the links layout of the current bar after another bar has been merged with it.
See Also