PC Review


Reply
Thread Tools Rate Thread

Image Property

 
 
David caso
Guest
Posts: n/a
 
      30th Jun 2006
hi,i'm working in a CustonControl, and i want add it an image property.
i create a property for the image:

public System.Drawing.Image Imagen
{
get { return myImagen; }
set {
myImagen = value;
Invalidate();
}
}

this work's fine when i set a value to propertie, but in the IDE of
VS.NET(NET 2.0), when i go to the property tab page of control i can't
delete the value of the property.
if in code, i set a value to Imagen, for example Imagen=null;, the value
of the property delete correctly.

why i can't delete value from property page in the IDE?

thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control image property locking image file even after image cleared steve Microsoft VB .NET 4 6th Jul 2006 03:57 AM
can a custom control have an image property that can be set in design time from the property browser? news.austin.rr.com Microsoft Dot NET Compact Framework 3 3rd Mar 2005 03:08 AM
when i set the BackgroundImage property in the designer the image still doesnt show in the background of the textbox any other property must be set? Daniel Microsoft C# .NET 1 2nd Nov 2004 03:43 PM
when i set the BackgroundImage property in the designer the image still doesnt show in the background of the textbox any other property must be set? Daniel Microsoft Dot NET 0 2nd Nov 2004 03:03 AM
Binding the Image property of the picturebox to a another class.property Cade Carvell Microsoft VB .NET 1 9th Jul 2003 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:49 PM.