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()); } }
//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)); }