Intersoft WebDesktop Documentation
Configuring Interactive Style of WebButton
Send Feedback
Intersoft WebDesktop > WebButton > Tutorials > Configuring Interactive Style of WebButton

Glossary Item Box

Objectives

Configuring Interactive Style of WebButton

WebButton is designed to have the true Desktop's button behavior. It has three states (Active, Over, Normal) in enable mode, where we can apply styles to each states to experience the same behavior as in Desktop's Button (e.g minimize/max/restore/close button styles in every window).

Following are steps to configure the styles for each states : (in "Stand alone Mode")

  1. Drag WebButton control to the WebForm.
  2. Right-click on WebButton control and choose Properties.
  3. Expand ButtonStyle and you will see Active, Normal, and Over States.


  4. Expand Active State, change BackColor and BackColor2.


  5. Expand Normal State, change BackColor and BackColor2.


  6. Expand Over State, change BackColor and BackColor2.


  7. Run The Project and you will see something like this.

    Normal

    Over

    Active


  • This tutorial only shows you changing the BackColor and BackColor2 property, feel free to experiment with other property style.
  • In "Integrated Mode" (The WebButton is integrated with WebDesktopManager), the styles of WebButton are inherited from DesktopManager's WindowSetting's CommandButtonStyle
© 2012 Intersoft Solutions Corp. All Rights Reserved.