lixiaojun
2024-09-24 22e1f3211a078ba498f35069c3db420dc388b164
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);
        }
    }
}