Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

The appearance options of the .net PushButton3D are much less than the ones of CWButton control

When I used the CWButton activex control in a C# form, I found it can change the images of the light, the images of the shadow,  and you can even make those images invisible. But with the .net PushButton3D control, I cannot find a way to change those things.  How can I customize the appearance of the pushbutton3D control without having to create a customize style class? (I just want to change some colors, hide certain part of the button, I don't want to draw the whole control by myself).
 
Thanks for your help!
 
0 Kudos
Message 1 of 2
(2,787 Views)
In order to customize the appearance of the PushButton3D style, you are going to have to create a custom class that derives from SwitchStyle and implement the drawing of the control yourself. Since all the 3D and 2D styles do not have a consistent look it is difficult for us to provide an API that allows you to customize just one area of the control.
Abhishek Ghuwalewala | Measurement Studio | National Instruments
0 Kudos
Message 2 of 2
(2,752 Views)