Function of SizeMode property
Describe the function of a SizeMode property of a PictureBox control?
Expert
SizeMode property determines how picture will be displayed in a PictureBox control. There are five enumerations which are used to set a value of SizeMode property such as:
1. Zoom – It helps in enlarging or shrinking image so that it will fit in the PictureBox control, through maintaining an aspect ratio of a image
2. StretchImage – It displays image according to the PictureBox size
3. Normal – It represents Standard picture box behaviour like the upper-left corner of an image is placed at upper-left in a picture box
4. AutoSize – It increases or decreases a picture size automatically according to the actual size of a PictureBox control.
5. CenterImage – It displays an image in the center if it is smaller than a PictureBox control; otherwise, centre part of an image is placed in a PictureBox control and the edges which are outside are clipped.
Explain Custom User Controls in the ASP.NET?
Write difference between an Abstract class and an Interface.
Illustrate various types of Validation Controls?
Explain some of the versions of .NET?
List the difference between points, pixels, and em's at the time when fonts are displayed?
Write down the code for selecting an item in ListView control programmatically in the C#?
Briefly describe the term destructor?
What do you mean by Cookie?
Why do we require the nested master pages in the Web site?
What is a behavior of the Web browser when it receives the invalid element?
18,76,764
1928448 Asked
3,689
Active Tutors
1452997
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!