RegisterForLayouting (LayoutingType.Sizing);
}
}
- [XmlIgnore]public virtual object DataSource {
+ [XmlAttributeAttribute][DefaultValue(null)]
+ public virtual object DataSource {
set {
if (dataSource == value)
return;
if (dataSource != null)
this.ResolveBindings();
+
+ NotifyValueChanged ("DataSource", dataSource);
}
get {
return dataSource == null ? LogicalParent == null ? null :
if (pi.GetCustomAttribute<XmlIgnoreAttribute> () != null)
continue;
-
+ if (pi.Name == "DataSource")
+ continue;
// object[] att = pi.GetCustomAttributes (false);
// foreach (object o in att) {
// XmlIgnoreAttribute xia = o as XmlIgnoreAttribute;