示例#1
0
 private string GetObjectTitle(AppObject appobj)
 {
     if (Columns != null && Columns.Count > 0)
     {
         var props = appobj.GetAppObjectProperties();
         return(props.Get(Columns[0].DataSource));
     }
     else
     {
         return(appobj.ToString());
     }
 }
示例#2
0
        //protected override void SetSelectedObject(AppObject obj)
        //{
        //    m_selectedObject = obj;
        //    if (m_frame != null) m_frame.SetSelectedObject(obj);
        //}

        public override bool SuitableFor(AppObject appobj)
        {
            var props = appobj.GetAppObjectProperties();

            return(Filter.Accept(props));
        }