G
Guest
I have a data model that has dozens of properties of most every data type. I
now want to declare a few of these properties as Images but can't seem to do
it.
The approach I thought would work was this one:
private Image _picture;
public Image Picture
{
get
{
return _picture;
}
set
{
_picture = value;
}
}
where I've declared "using System.Drawing" at the top of the file. But it
won't accept it. In fact, Intellisense doesn't even recognize
"System.Drawing".
Is it not possible to declare a property as an Image type?
now want to declare a few of these properties as Images but can't seem to do
it.
The approach I thought would work was this one:
private Image _picture;
public Image Picture
{
get
{
return _picture;
}
set
{
_picture = value;
}
}
where I've declared "using System.Drawing" at the top of the file. But it
won't accept it. In fact, Intellisense doesn't even recognize
"System.Drawing".
Is it not possible to declare a property as an Image type?