0
これは非常に速い(おそらくnoobの)質問です。 私はdependencyobjectを作成していますが、私のdependencypropertyの1つは "Point"になります。C#Type "Point"のOwnerClass?
の事は私が作成していたDependencyPropertyの「ownerclass」であるのか分からないということです:/ をここでは、コードは次のとおりです。
public Point MyPoint
{
get { return (Point)GetValue(MyPointProperty); }
set { SetValue(MyPointProperty, value); }
}
public static readonly DependencyProperty MyPointProperty =
DependencyProperty.Register("MyPoint", typeof(Point), typeof(**???**), new UIPropertyMetadata(0));
そして、ところで、メタデータはOKですか? ( "Point"のパラメータとして整数を取るコンストラクタがあります)
本当に疲れています...ごめんなさい:( –