Professional Documents
Culture Documents
What Is
What Is
===================================================================================
======
What will Happen If the value of the Autosize property of the label is True OR
False?
Answer :-
===================================================================================
======
Which Property is used to set font Colour with font dialog control?
Answer :- FontDialog.Color Property
===================================================================================
=======
Use of RadioButton | Properties of Radio buttton
Answer :-
Use : Radio buttons, also called option buttons, let users select one
option from a collection of two or more mutually exclusive, but related, options.
Radio buttons are always used in groups, and each option is
represented by one radio button in the group.
properties :
BackColor : It is used to set background color of the
control.
BorderColor : It is used to set border color of the
control.
BorderWidth : It is used to set width of border of the
control.
Font : It is used to set font for the control text.
ForeColor : It is used to set color of the control text.
Text : It is used to set text to be shown for the
control.
ToolTip : It displays the text when mouse is over the
control.
Visible : To set visibility of control on the form.
Height : It is used to set height of the control.
Width : It is used to set width of the control.
GroupName : It is used to set name of the radio button
group.
===================================================================================
========
Porpose of groupbox Cotrol In C#.net With example
Answer :-
Use :- The GroupBox displays a frame around a group of controls with or
without a caption. Use a GroupBox to logically group a collection of controls on a
form. The group box is a container control that can be used
to define groups of controls.
Example :-
creates a GroupBox control : GroupBox authorGroup =
newGroupBox();
Properties :- authorGroup.Name = "GroupBox1";
authorGroup.BackColor = Color.LightBlue;
authorGroup.ForeColor = Color.Maroon;
authorGroup.Text = "Author Details";
authorGroup.Font = newFont("Georgia",
12);
===================================================================================
==========
Why it is needed to use Tab order in a GUI from ? write the steps to settab order
Answer :-
Purppose :- The tab order is the order in which a user moves focus
from one control to another by pressing the Tab key
Steps :-
1) Select the control in the designer.
2) In the Properties window in Visual Studio, set the
TabIndex property of the control to an appropriate number.
===================================================================================
===========
Properties of textbox with oneline Description.
Answer :-
1) Font :- Gets or sets the font of the text displayed by the
control.
2) FontHeight :- Gets or sets the height of the font of the control.
3) ForeColor :- Gets or sets the foreground color of the control.
4) Lines :- Gets or sets the lines of text in a text box
control.
5) Multiline :- Gets or sets a value indicating whether this is a
multiline TextBox control.
6) PasswordChar :- Gets or sets the character used to mask characters
of a password in a single-line TextBox control.
7) ReadOnly :- Gets or sets a value indicating whether text in the
text box is read-only.
===================================================================================
============
Events of Listbox controls with it's usages?