试题详情
多项选择题 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.

  • C,D
  • 关注下方微信公众号,在线模考后查看

热门试题