Silverlight dependency property属性的定义

具体如下:
public
static readonly DependencyProperty IsSpinningProperty =
    DependencyProperty.Register(
    "IsSpinning", typeof(Boolean),
    typeof(SilverlightExampleClass), null
    );
public bool IsSpinning
{
    get { return (bool)GetValue(IsSpinningProperty); }
    set { SetValue(IsSpinningProperty, value); }
}
 引用http://msdn.microsoft.com/en-us/library/cc221408

posted @ 2010-05-05 20:06  回忆过去  阅读(450)  评论(0编辑  收藏  举报