Esempio n. 1
0
            public override object GetValue(object component)
            {
                PropertySpecEventArgs propertySpecEventArgs = new PropertySpecEventArgs(item, null);

                bag.OnGetValue(propertySpecEventArgs);
                return(propertySpecEventArgs.Value);
            }
Esempio n. 2
0
            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);
            }