Esempio n. 1
0
        //        public List<FrameworkElement> RelatedControl { set; get; }
        //



        public void Visiblity(object dataItem, bool visible)
        {
            if (LabelControlManager != null)
            {
                LabelControlManager.Visiblity(visible);
            }
            View.Visibility = visible ? Visibility.Visible : Visibility.Collapsed;
        }
 public void Visiblity(bool visible)
 {
     if (LabelControlManager != null)
     {
         LabelControlManager.Visiblity(visible);
     }
     MyControlHelper.Visiblity(visible);
 }
 public void Visiblity(object dataItem, bool visible)
 {
     //foreach (var item in RelatedControl)
     //{
     //    //بهتر شود
     //    if (item is TextBlock)
     //        LabelHelper.Visiblity(item, visible);
     //}
     if (LabelControlManager != null)
     {
         LabelControlManager.Visiblity(visible);
     }
     MyControlHelper.Visiblity(visible);
 }
Esempio n. 4
0
        public void Visiblity(bool visible)
        {
            //foreach (var item in RelatedControl)
            //{
            //    //بهتر شود
            //    if (item is TextBlock)
            //        LabelHelper.Visiblity(item, visible);
            //}

            if (LabelControlManager != null)
            {
                LabelControlManager.Visiblity(visible);
            }
            View.Visibility = visible ? Visibility.Visible : Visibility.Collapsed;
        }