Softelvdm.Controls Class Library for Windows Controls 1.0

ButtonAppearanceDefault Property, GadgetsClass Class

Softel vdm, Inc.

Defines the default appearance of all buttons.

Syntax      GadgetsClass Class (Softelvdm.Controls)

VB   

Public Property ButtonAppearanceDefault As GadgetAppearanceEnum

C#   

public GadgetAppearanceEnum ButtonAppearanceDefault { get; set; }

C++   

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

Property Value

The 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 ButtonAppearanceDefault property defines the default appearance of all buttons.

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

SftTabs/NET 6.0: The ButtonAppearanceDefault property only affects button parts (ButtonPartClass). Scroll buttons and Close, Minimize, Restore buttons are not affected by the ButtonAppearanceDefault property. They are controlled using the Scrolling.ButtonStyle property instead.

Version Information

Supported in version 1.0.
Products Table


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