问题详情

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?()


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.

时间:2021-12-31 18:43 关键词: MCTS(70-528)

答案解析

C| D