Example #1
0
 private void ShowButtonByEditableProperties(Button editButton, object item)
 {
     if (PropertyEditor.HasEditableProperties(item.GetType()))
     {
         editButton.Show();
     }
     else
     {
         editButton.Hide();
     }
 }