ICreate.Controls.Bars Send comments on this topic.
ButtonStyle Property
See Also 
ICreate.Controls.Bars Namespace > CommandButton Class : ButtonStyle Property






Gets or set the style used to render the CommandButton.

Syntax

Visual Basic (Declaration) 
Public Property ButtonStyle As ButtonStyle
Visual Basic (Usage)Copy Code
Dim instance As CommandButton
Dim value As ButtonStyle
 
instance.ButtonStyle = value
 
value = instance.ButtonStyle
C# 
public ButtonStyle ButtonStyle {get; set;}
Delphi 
public read-write property ButtonStyle: ButtonStyle; 
JScript 
public function get,set ButtonStyle : ButtonStyle
Managed Extensions for C++ 
public: __property ButtonStyle get_ButtonStyle();
public: __property void set_ButtonStyle( 
   ButtonStyle value
);
C++/CLI 
public:
property ButtonStyle ButtonStyle {
   ButtonStyle get();
   void set (ButtonStyle value);
}

Return Value

A BrushStyle value, this property determines the appearance of the CommandButton. The default value is ButtonStyle.Standard.

Requirements

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

See Also