Softelvdm.Controls Class Library for Windows Controls 1.0

DropDownButtonPartClass Constructor

Softel vdm, Inc.

Initializes a new instance of the DropDownButtonPartClass class.

Syntax      DropDownButtonPartClass Class (Softelvdm.Controls)

VB   

Public Sub New()
Public Sub New( _
     ByVal Pressed As Boolean, _
     ByVal Enabled As Boolean, _
     ByVal Style As GadgetAppearanceEnum )

C#   

public DropDownButtonPartClass();
public DropDownButtonPartClass(
     bool Pressed,
     bool Enabled,
     GadgetAppearanceEnum Style );

C++   

public: DropDownButtonPartClass();
public: DropDownButtonPartClass(
     bool Pressed,
     bool Enabled,
     GadgetAppearanceEnum Style );

Enabled

Defines whether the dropdown button is enabled (Enabled property). A disabled dropdown button cannot be clicked and appears grayed.

Pressed

Defines whether the dropdown button is currently pressed (Pressed property).

Style

Defines the dropdown button appearance (Appearance property).

GadgetAppearanceEnum

Value

Description

Default

0

The gadget has an appearance which is determined by a containing object or by the environment. If no containing object or environmental information is available, GadgetAppearanceEnum.Default is identical to GadgetAppearanceEnum.ThemedSystem.

System

1

The gadget has an appearance that mimics the current operating system, but does not use themes, even if these are enabled by the operating system.

ThemedAppearance

2

The gadget emulates an appearance that mimics Windows XP themes, even on operating systems that do not offer themes.

ThemedSystem

3

The gadget has an appearance that mimics the current operating system. For example, on Windows XP (and above), Windows themes would be used if these are enabled by the operating system. When Windows themes are used, certain color related properties no longer take effect, because the rendering is determined by the theme.

Plain

4

The gadget has no particular appearance and is completely defined by its own attributes.

Comments

The DropDownButtonPartClass constructor initializes a new instance of the DropDownButtonPartClass class.

Version Information

Supported in version 1.0.
Products Table


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com