1
이것은 매우 좁은 질문이며 게시하는 것을 주저합니다.XAML에 내 맞춤 속성 이름 설정
내 컨트롤이 렌더링되는 방식을 보려면 내 Grid
의 리소스에 더미 데이터를 정의하고 있습니다.
<local:Team x:Key="DummyTeam">
<local:Team.Members>
<local:TeamMember Name="Edeax" Delay="3" />
<local:TeamMember Name="Neled" Delay="3" />
</local:Team.Members>
</local:Team>
한 재미 비트 내가 'TeamMember'의 재산 'Name'을 정의 할하고 XAML에서 일반적으로 사용되는 속성이기 때문에, 비주얼 스튜디오는 다음과 불평이다 :
'Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.Semantics.Metadata.ReflectionTypeNode' is implemented in the same assembly, you must set the x:Name attribute rather than the Microsoft.VisualStudio.DesignTools.Xaml.LanguageService.Semantics.Metadata.ReflectionPropertyNode attribute.
그것을 컴파일하고 제대로 작동하지만 XAML에서 Name
속성을 올바르게 설정하는 방법은 무엇입니까?