lixiaojun
2024-11-17 c390474980cea47189c1fcc962315b9867c9e2ce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Yw.WinFrmUI
{
    /// <summary>
    /// 隐藏图片的附属属性(propertyGrid中使用)
    /// </summary>
    public class HideImageSubProConverter : ImageConverter
    {
        /// <summary>
        /// 
        /// </summary>
        public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
        {
            return new PropertyDescriptorCollection(null);
        }
    }
}