示例#1
0
        protected override bool IsItemEditable(Altaxo.Main.IImmutable item)
        {
            if (null == item)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
        protected virtual bool IsItemEditable(Altaxo.Main.IImmutable item)
        {
            if (null == item)
            {
                return(false);
            }
            var prop = item.GetType().GetProperty("IsEditable", typeof(bool));

            if (null == prop)
            {
                return(false);
            }
            return((bool)prop.GetValue(item, null));
        }