public LiveDesignTimeProperty(DesignTimeHost <T> host, DesignTimeProperty property, Expression <Func <TValue> > liveValueProperty) : base(host, property) { PropertyObserver.For(host) .Observe(liveValueProperty.GetMemberName(), (s, e) => { this.host.RaisePropertyChanged(this); }); this.liveValueProperty = liveValueProperty; this.liveValueDelegate = this.liveValueProperty.Compile(); }
public SimilarDesignTimeProperty(DesignTimeHost <T> host, DesignTimeProperty property, TValue value) : base(host, property) { this.value = value; //var idtl = this.value as IDesignTimeList; //if( idtl != null ) //{ // idtl.Name = this.Name; // idtl.GetPropertiesHandler = attributes => // { // return TypeDescriptor.GetProperties( typeof( TValue ) ); // }; //} }
public StaticDesignTimeProperty(DesignTimeHost <T> host, DesignTimeProperty property, TValue value) : base(host, property) { this.value = value; }
protected DesignTimeProperty(DesignTimeHost <T> host, String propertyName) : base(typeof(T), propertyName) { this.host = host; }
protected DesignTimeProperty(DesignTimeHost <T> host, DesignTimeProperty property) : base(typeof(T), property) { this.host = host; }
internal PropertyBuilder(DesignTimeHost <T> host) { this.host = host; }
public DynamicDesignTimeProperty(DesignTimeHost <T> host, DesignTimeProperty property, Func <CultureInfo, TValue> valueHandler) : base(host, property) { this.valueHandler = valueHandler; }
public UnboundedDesignTimeProperty(DesignTimeHost <T> host, String propertyName) : base(host, propertyName) { }