110,561
社区成员
发帖
与我相关
我的任务
分享
//C++ Macro
#define MACRO(X,Y) (X+Y)
public static DependencyProperty FirstProperty = DependencyProperty.Register("First",
typeof(string),
typeof(ABC),
new PropertyMetadata("First"));
[Browsable(false)]
[Description("First")]
[Category("Activity")]
public string First
{
get
{
return GetValue(FirstProperty) as string;
}
set
{
SetValue(FirstProperty, value);
}
}
public static DependencyProperty SecondProperty = DependencyProperty.Register("Second",
typeof(string),
typeof(ABC),
new PropertyMetadata("Second"));
[Browsable(false)]
[Description("Second")]
[Category("Activity")]
public string Second
{
get
{
return GetValue(SecondProperty) as string;
}
set
{
SetValue(SecondProperty, value);
}
}