0
WPF 속성 표에 중첩 된 속성을 어떻게 추가 할 수 있습니까?속성 격자에 중첩 된 속성을 추가하는 방법
내가 추가하고 싶은 글꼴 속성 목록 스타일의 하위 글꼴 인 글꼴 아래에. 중첩 된 속성에 따라 글꼴 속성 목록을 얻으려면 어떻게해야합니까?
Style
Font
Font Family
Font Size
Font Style ... and so on..
internal class Properties()
{
public Properties()
{
this.FontPropertiesCollection = new List<FontProperties>()
{
????
}
}
[CategoryAttribute("Font")]
[DisplayName("Font")]
public List<FontProperties> FontPropertiesCollection
{
get;
set;
}
}
internal class FontProperties
{
[CategoryAttribute("Font")]
[DisplayNameAttribute("Font Family")]
public string FontFamily
{
get
{
return this.fontFamily;
}
set
{
if (value != this.fontFamily)
{
this.fontFamily= value;
this.OnPropertyChanged("FontFamily");
}
}
}
..... and so on
WPF 속성 표 구현은 무엇입니까? –