Bar Members
In This Article
#Constructors
#Properties
Name | Description |
---|---|
Accessible |
Gets or sets the object’s description used by accessibility client applications. |
Accessible |
Gets or sets the object’s name used by accessibility client applications. |
Accessible |
Gets or sets the object’s accessible role. |
Appearance |
Specifies appearance settings for items in this bar in the normal state. This property is equivalent to the Normal property that you can access through the Bar |
Auto |
Gets or sets whether items added to/removed from a child bar merged with this bar are automatically added to/removed from this bar. |
Back |
Obsolete. Gets or sets the background color of the Bar. |
Background |
Obsolete. Gets or sets the background image of the Bar. |
Bar |
Specifies appearance settings for items in this bar in different states. |
Bar |
Gets or sets the horizontal indent, in pixels, between a bar item link’s content and borders. |
Bar |
Gets or sets the vertical indent, in pixels, between a bar item link’s content and borders. |
Bar |
Gets or sets the name of the bar. |
Can |
Gets or sets a value specifying the manner in which a bar can be docked. |
Can |
Gets a value indicating whether the Bar can be moved. |
Can |
Gets a value indicating whether the component can raise an event. Inherited from Component. |
Close |
|
Container | Gets the IContainer that contains the Component. Inherited from Component. |
Design |
Gets a value that indicates whether the Component is currently in design mode. Inherited from Component. |
Dock |
Gets or sets the bar column index position when it is docked. |
Dock |
Gets or sets the bar row index when it is docked. |
Dock |
Gets or sets the Bar dock style. |
Events protected | Gets the list of event handlers that are attached to this Component. Inherited from Component. |
Float |
Get or sets the Bar location in screen coordinates if the bar is floating. |
Float |
Get or sets the size of the Bar in pixels if the bar is floating. |
Hide |
Gets or sets whether the current child bar is hidden from the child form during a merge operation.
This option is in effect if you subscribed to the parent Bar |
Is |
Gets a value indicating whether the Bar is floating. |
Is |
Indicates that the Bar Manager is being loaded. |
Is |
Gets a value indicating whether the Bar is the application’s main menu. |
Is |
Gets whether another bar has been merged into the current bar. |
Is |
Gets a value indicating whether the bar is a status bar. |
Item |
Gets the collection of item links belonging to the current bar. |
Links |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Manager | Gets or sets a value representing the Bar Manager that owns this bar. |
Merge |
Gets the collection of item links that have been merged into the current bar. |
Offset | Gets or sets the offset in pixels from the left or top border of the bar container based on the dock style. |
Options | Obsolete. Gets or sets the options used to create a Bar. |
Options |
Provides access to customization options for the current bar. |
Site | Gets or sets the ISite of the Component. Inherited from Component. |
Size | Gets the bar’s size. |
Standalone |
Gets or sets the Standalone |
Standalone |
Gets or sets the name of the Standalone |
Tag | Gets or sets an object that contains custom data for the current Bar object. |
Text | Gets or sets the bar’s display text. |
Visible | Gets or sets a value indicating whether the Bar is displayed. |
Visible |
Gets the collection of visible bar item links displayed within the bar. |
#Methods
Name | Description |
---|---|
Add |
Adds a link to the Bar control. |
Add |
Creates links to bar items passed as an array. |
Apply |
Applies changes made by the Bar. |
Ask |
Returns a Bar to its designed state. |
Begin |
Locks the Bar, preventing visual updates of the object and its elements until the End |
Cancel |
Unlocks the Bar object after it has been locked by the Begin |
Clear |
Removes all links from the Bar control. |
Create |
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Inherited from Marshal |
Dispose() | Releases all resources used by the Component. Inherited from Component. |
End |
Unlocks the Bar object after a call to the Begin |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Force |
Forces the current Bar to be refreshed. |
Force |
Forces this Bar to redraw itself. |
Get |
Retrieves the list of links currently displayed within this Bar. |
Get |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Get |
Returns the actual distance between neighboring bar items. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Inherited from Marshal |
Get |
Returns the actual horizontal indent, in pixels, between a bar item link’s content and borders. |
Get |
Returns the actual horizontal indent, in pixels, between a bar item link’s content and borders. |
Get |
Returns the actual vertical indent, in pixels, between a bar item link’s content and borders. |
Get |
Returns the actual vertical indent, in pixels, between a bar item link’s content and borders. |
Get |
Returns an object that represents a service provided by the Component or by its Container. Inherited from Component. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Initialize |
Obtains a lifetime service object to control the lifetime policy for this instance.
Inherited from Marshal |
Insert |
Inserts a link in the Bar at the specified index. |
Invalidate() | Updates a bar control. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Marshal |
Merge |
Adds the visible links from the specified bar onto the current bar. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove |
Removes the first occurrence of a specific link from the Bar. |
Reset() | Returns a Bar to its designed state. |
Set |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
To |
Returns a String that represents the current Bar. |
Un |
Restores the links layout of the current bar after another bar has been merged with it. |
#Events
Name | Description |
---|---|
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
Dock |
Occurs after the bar has been docked to another position by an end-user. |
Link |
Fires immediately after a link has been added to the bar. |
Link |
Fires immediately after a link has been removed from the bar. |
Visible |
Fires immediately after the visibility of the bar has been changed. |
See Also