ICreate.Controls.Bars Send comments on this topic.
BarItemResetState Class
See Also  Members  
ICreate.Controls.Bars Namespace : BarItemResetState Class






Used to store the Visible and Index properties of a BarItem, allowing these properties to be reset back to their original values at a later time.

Syntax

Visual Basic (Declaration) 
Public Class BarItemResetState 
Visual Basic (Usage)Copy Code
Dim instance As BarItemResetState
C# 
public class BarItemResetState 
Delphi 
public class BarItemResetState 
JScript 
public class BarItemResetState 
Managed Extensions for C++ 
public __gc class BarItemResetState 
C++/CLI 
public ref class BarItemResetState 

Remarks

An instance of a BarItemResetState type is used to store the Visible and Index properties of a BarItem. These properties can then be set back to their original value at some later time. A BarItemResetState instance is created for each BarItem on a Bar. This happens when the Form containing the Bar is shown. The BarItemResetState instances can then be used to reset the position and visible state of the bar items.

A ButtonBar is reset by clicking the Reset button on the Configure Bar dialog. This dialog is displayed by calling the Configure method. A SideBar is reset by clicking the Reset button on the Side Bar Options dialog. This dialog is shown by clicking on the SideBar menu button, the small down arrow on the right of the button strip at the bottom of the SideBar, and selecting the Side bar options menu item. A TaskBar is reset by calling the ResetItems method.

Inheritance Hierarchy

System.Object
   ICreate.Controls.Bars.BarItemResetState

Requirements

Namespace: ICreate.Controls.Bars

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: ICreate.Controls.Bars (in ICreate.Controls.Bars.dll)

See Also