lixiaojun
2025-04-09 0f99680aff09e91f521b5909aab42811c1c3e6f1
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);
        }
    }
}