Softelvdm.Controls Class Library for Windows Controls 1.0

Appearance Property, DropDownButtonPartClass Class

Softel vdm, Inc.

Defines the dropdown button appearance.

Syntax      DropDownButtonPartClass Class (Softelvdm.Controls)

VB   

Public Property Appearance As GadgetAppearanceEnum

C#   

public GadgetAppearanceEnum Appearance { get; set; }

C++   

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

Property Value

The 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.Default.

Comments

The Appearance property defines the dropdown button appearance.

If the Appearance property is set to GadgetAppearanceEnum.Default, the appearance as defined by the GadgetsClass.DropDownButtonAppearanceDefault property is used.

Version Information

Supported in version 1.0.
Products Table


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