Size in Form class

T

Tony Johansson

Hello!

I use the disassemble in Red Gate's .NET Reflector.

When I use the documentation for the Form class there is a property called
Size but
when I look at the Form class using disassemble in Red Gate's .NET Reflector
I can't find one.

Can anyone explain this to me.

//Tony
 
A

Alberto Poblacion

Tony Johansson said:
I use the disassemble in Red Gate's .NET Reflector.

When I use the documentation for the Form class there is a property called
Size but
when I look at the Form class using disassemble in Red Gate's .NET
Reflector I can't find one.

Can anyone explain this to me.

Form inherits from Control. Look at the parent class to find any
properties that are not defined in Form itself.
 
F

Family Tree Mike

Tony Johansson said:
Hello!

I use the disassemble in Red Gate's .NET Reflector.

When I use the documentation for the Form class there is a property called
Size but
when I look at the Form class using disassemble in Red Gate's .NET Reflector
I can't find one.

Can anyone explain this to me.

//Tony


.

Size is an inherited property from Control, and not a direct property of the
Form class.

Mike
 
G

Gregory A. Beamer

When I use the documentation for the Form class there is a property
called Size but
when I look at the Form class using disassemble in Red Gate's .NET
Reflector I can't find one.

Some things are inherited from parent classes. In Reflector, open the base
class hierarchy and start walking up the hierarchy. When you get here
(http://snurl.com/snn2e), you will see the Size property.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
M

Mythran

Tony Johansson said:
Hello!

I use the disassemble in Red Gate's .NET Reflector.

When I use the documentation for the Form class there is a property called
Size but
when I look at the Form class using disassemble in Red Gate's .NET
Reflector I can't find one.

Can anyone explain this to me.

//Tony

In addition to the other replies:

You can show "inherited members" in Red Gate's .Net Reflector by going to
View->Options and selecting Browser then checking the box labeled "Show
inherited members". Enabling this option will show all members of a class,
inherited or not.

HTH,
Mythran
 

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