Softelvdm.Controls Class Library for Windows Controls 1.0

DropDownButtonAppearanceDefault Property, GadgetsClass Class

Softel vdm, Inc.

Defines the default appearance of all dropdown buttons.

Syntax      GadgetsClass Class (Softelvdm.Controls)

VB   

Public Property DropDownButtonAppearanceDefault As GadgetAppearanceEnum

C#   

public GadgetAppearanceEnum DropDownButtonAppearanceDefault { get; set; }

C++   

public: property GadgetAppearanceEnum DropDownButtonAppearanceDefault {
        GadgetAppearanceEnum get();
        void set(GadgetAppearanceEnum value);
}

Property Value

The dropdown button appearance.

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.

The default value is GadgetAppearanceEnum.ThemedSystem.

Comments

The DropDownButtonAppearanceDefault property defines the default appearance of all dropdown buttons.

The DropDownButtonPartClass class is used to add dropdown buttons to cells. Instances of the DropDownButtonPartClass class can define the dropdown button appearance. If they specify the default setting GadgetAppearanceEnum.Default, the setting of the DropDownButtonAppearanceDefault property is used instead.

Version Information

Supported in version 1.0.
Products Table


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