Image Property not available for Button

R

rickbear

Hi group

I'm developing a Form for target WindowsCE platform in .NET 2.0
In my form I create a Button without any problems. I can set some
properties also.
But in the documentation and many examples I see the button has an
Image Property which I would like to use. The problem is, IntelliSense
does not show it and when I force myButton.Image = someImageBitmap;
the compiler does not understand the Image Property. I am wondering
how that can be? Any suggestions?

- rick -
 
I

Ignacio Machin ( .NET/ C# MVP )

Hi group

I'm developing a Form for target WindowsCE platform in .NET 2.0
In my form I create a Button without any problems. I can set some
properties also.
But in the documentation and many examples I see the button has an
Image Property which I would like to use. The problem is, IntelliSense
does not show it and when I force myButton.Image = someImageBitmap;
the compiler does not understand the Image Property. I am wondering
how that can be? Any suggestions?

- rick -

Hi,

It's not implemented in the CF , you have to use a PictureBox

Take a look at opennetcf.org for more details
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top