开发者

Setting values to usercontrol & reloading it

开发者 https://www.devze.com 2023-01-12 15:46 出处:网络
i have a usercontrol with two public properties public DateTime fromdate 开发者_StackOverflow中文版{

i have a usercontrol with two public properties

public DateTime fromdate
     开发者_StackOverflow中文版   {
            get;
            set;
        }

        public DateTime toDate
        {
            get;
            set;
        }

I am setting this values in my code behind. After setting the values i want to reload the usercontrol so that it fires a get method which will use these dates ...how will i reload the usercontrol


http://msdn.microsoft.com/en-us/library/ms743695.aspx will get you on your way, you need to implement INotifyPropertyChanged

0

精彩评论

暂无评论...
验证码 换一张
取 消