プロパティのプロパティにバインドすることはできますか?ここ は、私が持っているものです。プロパティを持つ階層的なデータバインディングが可能ですか?
[Bindable(true)]
public class DataClass
{
private string DescriptionValue = null;
private Content DataContent Value = new Content();
....
[Bindable(true)]
public Content DataContent
{
get { return DataContent; }
set { DataContent = value; }
}
[Bindable(true)]
public string Description
{
get { return DescriptionValue; }
set { DescriptionValue = value; }
}
...
}
[Bindable(true)]
public class Content
{
private object ContentValue = null;
private Color StateBackColorValue;
...
[Bindable(true)]
public object Content
{
get { return ContentValue; }
set { ContentValue = value; }
}
[Bindable(true)]
public Color StateBackColor
{
get { return StateBackColorValue; }
set { StateBackColorValue = value; }
}
...
}
はDataContent.Contentにコントロールまたはコンテンツクラスの他のプロパティをバインドすることが何とか可能ですか?私はContentクラスのプロパティをマップするDataContentクラスのプロパティを導入できることを知っています。私は、プロパティを持つ階層的なデータバインディングが可能かどうかを知りたかっただけです。