BCGControlBar Library for .NET
VisualState Property (CommandButton)




Specifies how button's image and text  are displayed when button is located on the toolbar, the  menu bar,  the popup menu bar and  the popup palette. Reflects to the state displayed in customize mode.
Syntax
'Declaration
 
Public Property VisualState As CommandButtonVisualState
'Usage
 
Dim instance As CommandButton
Dim value As CommandButtonVisualState
 
instance.VisualState = value
 
value = instance.VisualState
public CommandButtonVisualState VisualState {get; set;}
public: __property CommandButtonVisualState get_VisualState();
public: __property void set_VisualState( 
   CommandButtonVisualState value
);
public:
property CommandButtonVisualState VisualState {
   CommandButtonVisualState get();
   void set (    CommandButtonVisualState value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandButton Class
CommandButton Members

Send Feedback