Some Important properties used in C#
Introduction
& Review:
Creating Anything
Manually is not an easy way most of the people want to use an interface which
provide predefine Structures for creating any type of software
In rapid
application development, developing a form manually is not easy because we want
these types of application as soon as possible that’s why we use predefine
visual elements in spite of creating elements manually.
These visual elements are easy to
use because here we only drag & drop the elements where we want to Put
these elements, then we can code on these elements by double-click on these
Elements
Let’s suppose
if we want to Use a button we can easily Drag it from
toolbox Similarly we can drag & drop other element From toolbox and can
code easily
Each &
every element in C# has its own properties
Here I will
Share some properties which are commonly used in almost every element of C#
Textbox
properties
1. Back color :
By using this property you can
change the background of Any element
2. Height :
This property Enable you that you
can set height of any element
3. Width :
This property enable the programmer
to set a width to any element
4. Name :
This is very important property in c#
because the reference of this property is used in backend where code is written
5. Text :
This is used when a programmer want
to show any kind of text in text box
before giving input in text box this helps the user actually what he should
Enter in textbox
6. Multiline :
This property enable the programmer
to expand the text more than one line because a default text box support only
one line (user can enter anything only in one line if multiline is not applied)
7. Character casing
:
This property has three type:
Lower: Normal: upper this property
is used when programmer want casting of character entered in text box
8. Ready only :
Programmer can use this property to
show the text in text ox which is read only user cannot change it doing
entering input in textbox
9. Word wrap :
This property is used when textbox is multiline
Properties
of button:
Most of properties are same like
textbox properties but these are some properties which are not used in text box
·
Flat style :
By using this property use can give
many styles to a button for example if a programmer set the style to a button
popup this will appear flat till the
user move cursor on it
·
Image :
Programmer can set any kind on icon
or image on button
·
Image align:
Image align property enable the
programmer to align an image on button a programmer can set an image on button
at any site
Some Common properties:
I.
Resize
:
This properties enables to resize
button textbox from label and other elements if the value of this property is
true
II.
Enabled
:
This property shows the particular
element on which we applied
This property has 2 values: true
& false
If value is true this its visible if
value is false it doesn’t visible
III.
Location
:
By using this property a Developer
can set the location of element on window form and this can be applied on form
it self
IV.
Maximum
and minimum size :
When a developer want to set the
minimum and maximum size of element then he use this property this property can
be set as size from top bottom left right
V.
Padding
:
This properties shows the attachment
of element with window from top bottom left and right
VI.
Opacity
:
Opacity specify the resolution of
any element it can be from 1 to 100 %
Do you
want to learn advance Technology <a href=” gtechlearning.com ”> click
here </a>
It's perfect and time saving.
ReplyDeleteCool you write, the information is very good and interesting, I'll give you a link to my site. Niche edit backlink
ReplyDeleteI found Hubwit as a transparent s ite, a social hub which is a conglomerate of Buyers and Sellers who are ready to offer online digital consultancy at decent cost. SEO backlink
ReplyDeleteYou completed certain reliable points there. I did a search on the subject and found nearly all persons will agree with your blog. stoic ai trading bot
ReplyDeleteI’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... palos heights IL Real Estate Agents
ReplyDelete