The road to C# master trapemiya

C#を中心に、.NETの話題を取り上げます。

ホーム 連絡をする 同期する ( RSS 2.0 ) Login
投稿数  256  : 記事  1  : コメント  10763  : トラックバック  30

ニュース

Since 2005年10月26日

わんくま同盟

わんくま同盟

Microsoft MVP


Visual Developer - Visual C#

記事カテゴリ

書庫

日記カテゴリ

依存関係プロパティを以下のように定義したとします。

public class PersonFoo : DependencyObject
{
   #region 依存関係プロパティ dependency properties

    public static readonly DependencyProperty NameProperty =
        DependencyProperty.Register("Name", typeof(string), typeof(PersonFoo));
    public static readonly DependencyProperty AgeProperty =
        DependencyProperty.Register("Age", typeof(int), typeof(PersonFoo));

    #endregion
                     ・
                     ・

同じように、PersonBarクラスを作成したいので、PersonFooをコピベしました。
続きを読む・・・
投稿日時 : 2010年4月13日 11:50

コメント

No comments posted yet.

Post Feedback

タイトル
名前
Url:
コメント