for + 2次Tab:自动for循环代码;
for (int i = 0; i < length; i++)
{
}
prop + 2次Tab:属性代码;
public int MyProperty { get; set; }
propful + 2次Tab:完整属性;
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}
propdp + 2次Tab:依赖对象;
public int MyProperty
{
get { return (int)GetValue(MyPropertyProperty); }
set { SetValue(MyPropertyProperty, value); }
}// Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc...
public static readonly DependencyProperty MyPropertyProperty =
DependencyProperty.Register("MyProperty", typeof(int), typeof(ownerclass), new PropertyMetadata(0));
ctor + 2次Tab:构造函数;
public MainWindow()
{}