I think it is according to how you design the custom control.

解决方案 »

  1.   

    options是个集合,你给htc增加一个集合属性,相当于数组,每一项是个object(自定义)object.value = xxx;
      

  2.   

    你看看msdn中的htc帮助htc可以实现想要的功能,只是需要算法
      

  3.   

    shangxinyu123(龙) 说的方法我也试过,好像只能获取它的值,但不能设置。
      

  4.   

    Please refer to http://msdn.microsoft.com/workshop/components/htc/reference/elements/property.asp
      

  5.   

    实现过程见
    http://community.csdn.net/Expert/topic/5163/5163538.xml?temp=.8072931