AttachedProperty propa 添付プロパティを作成します soi Expansion
type プロパティの型 int property プロパティ名 MyProperty ownerclass ClassName() プロパティを登録している所有者の型 ignor this element defaultvalue PropertyMetadataの既定値 ($type$)obj.GetValue($property$Property); public static void Set$property$(DependencyObject obj, $type$ value) => obj.SetValue($property$Property, value); public static readonly DependencyProperty $property$Property = DependencyProperty.RegisterAttached("$property$", typeof($type$), typeof($ownerclass$), new PropertyMetadata($defaultvalue$default($type$))); #endregion $end$]]>