On Mar 14, 7:15 pm, "Bryan Phillips"
<bphill...@nospam.spamcop.net.spammenot> wrote:
> The Font class has the Editor attribute defined with a UITypeEditor as
> the parameter which allows it to be edited differently in a
[quoted text clipped - 40 lines]
>
> - Show quoted text -
Thanks for your help Bryan,
I can't tell from your answer though if there is a property attribute
or setting that is used by Visual Studio to actually determine the way
it creates the HTML to represent the property value.
For example the Font property is represented by a html attribute that
is associated to the control tag whereas the Chart property is
represented in place as the value for the control tag. It appears that
Visual Studio detects a difference between these 2 properties and my
question is what is that difference?
Thanks
Bryan Phillips - 16 Mar 2007 22:09 GMT
Visual Studio uses the control's Designer attribute to determine the
class to use in order to get the html to save for the control and its
properties. Download Reflector (http://www.aisto.com/roeder) and look
at the TextBox class and the ControlDesigner class (System.Web.UI.Design
namespace in the System.Design dll). It will give you a good idea of
what is possible and also the best practice since you will be looking at
the source code for the .Net Framework itself.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
> On Mar 14, 7:15 pm, "Bryan Phillips"
> <bphill...@nospam.spamcop.net.spammenot> wrote:
[quoted text clipped - 55 lines]
>
> Thanks