public override object GetValue(object component) { PropertySpecEventArgs propertySpecEventArgs = new PropertySpecEventArgs(item, null); bag.OnGetValue(propertySpecEventArgs); return(propertySpecEventArgs.Value); }
public override object GetValue(object component) { // Have the property bag raise an event to get the current value // of the property. PropertySpecEventArgs e = new PropertySpecEventArgs(item, null); bag.OnGetValue(e); return(e.Value); }