Exemple #1
0
 public static void UnknownProperty(object sender, UnknownPropertyEventArgs pea)
 {
     // Ignore these attributes.
     // TODO: add the element name into the args, so we can also test the element for which we want to ignore certain properties.
     if ((pea.PropertyName == "ChildColumn") || (pea.PropertyName == "ParentColumn"))
     {
         pea.Handled = true;
     }
 }
Exemple #2
0
 public static void UnknownProperty(object sender, UnknownPropertyEventArgs pea)
 {
     // Ignore these attributes.
     // TODO: add the element name into the args, so we can also test the element for which we want to ignore certain properties.
     if ((pea.PropertyName == "ChildColumn") || (pea.PropertyName == "ParentColumn"))
     {
         pea.Handled = true;
     }
 }