public static bool Get_ShowDetailView(IModelShowDetailView showDetailView)
 {
     IModelDefaultShowDetailView defaultShowDetailViewFromListView = showDetailView.Parent as IModelDefaultShowDetailView;
     if (defaultShowDetailViewFromListView != null)
     {
         return defaultShowDetailViewFromListView.DefaultShowDetailViewFromListView;
     }
     return true;
 }
Esempio n. 2
0
        public static bool Get_ShowDetailView(IModelShowDetailView showDetailView)
        {
            IModelDefaultShowDetailView defaultShowDetailViewFromListView = showDetailView.Parent as IModelDefaultShowDetailView;

            if (defaultShowDetailViewFromListView != null)
            {
                return(defaultShowDetailViewFromListView.DefaultShowDetailViewFromListView);
            }
            return(true);
        }