PC Review


Reply
Thread Tools Rate Thread

Changing the look of the Invalid Property Value warning in a PropertyGrid?

 
 
Robert Hooker
Guest
Posts: n/a
 
      10th Dec 2003
I know that this question has been batted around here for a while - and I
know that sample code, using reflection and poking around inside the
propertygrid class, has been posted by a kind soul.... but I'm really
hoping that someone on the Forms team, or C# team at Microsoft can have a go
at answering this.

Q: When inside a property grid, I am throwing exceptions when a value is out
of range for a cell.

All works well - I get the "Invalid Property" box appearing... Except that
the 'juicy' bit of my out-of-range warning is hiden by the "Details" button
on the Invalid Property Value box that the grid shows...

Is there any (semi-official) way of getting it to show a different box, or
at least to have the 'Details' shown by default?



 
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
PropertyGrid Name Property Derek Hart Microsoft Dot NET Framework Forms 0 3rd Mar 2009 07:59 PM
PropertyGrid Name Property Derek Hart Microsoft VB .NET 0 3rd Mar 2009 07:59 PM
Invalid "Property is never assigned" warning using DLinq Andrus Microsoft C# .NET 0 29th Mar 2008 01:36 PM
Invalid value in PropertyGrid Soeren S. Joergensen Microsoft C# .NET 0 29th Oct 2005 12:50 PM
Changing the look of the Invalid Property Value warning in a PropertyGrid? Robert Hooker Microsoft Dot NET Framework Forms 5 18th Dec 2003 08:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:00 PM.