你好,
非常遗憾, XAML是使用XML标签语言的方式来表达和建立CLR对象,而不能在XAML里面建立各种逻辑计算。
但是,你可以尝试把Button的宽和高邦定到某一个CLR 属性上,然后在运行的时候去改变这个被邦定的属性值来实现。
致,
Bob Bao
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Are you looking for a typical code sample? Please download
all in one code framework !