Which two actions should you perform to ensure that when users click on a particular property, they receive a short explanation of that property?

Exhibit:

You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.
Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

Exhibit:

You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.
Which two actions should you perform?
(Each correct answer presents part of the solution. Choose two.)

A.
Attach the Category attribute class to the controls class definition. Set its value to UserAddress. Mark the class as public.

B.
Attach the Browsable attribute class to each property in the group. Set its value to True. Mark the property as private.

C.
Attach the Category attribute class to each property in the group. Set its value to UserAddress. Mark the property as public.

D.
Attach the Description attribute class to each property in the group. Set each value to a description of the given property.

E.
Attach the DefaultProperty attribute class to each property in the group. Set each value to a description of the given property.



Leave a Reply 0

Your email address will not be published. Required fields are marked *