x : bind를 사용하면 모델 클래스 인스턴스의 멤버 만 바인딩 할 수 있습니다. 당신이
모델 클래스 인스턴스의 멤버를 결합 할 수 있으며 또한 전체 인스턴스를 바인딩 할 수 바인딩을 통해
//sends whole current instance to the converter.
//(note: yes you see correct. no property is attached after Binding keyword
....
<DataTemplate x:DataType="Models:Human">
<StackPanel Background="{Binding Converter={StaticResource UnwantedDayColorConverter}}">
....
(현재 개체를. 단지 그 하나의 속성)
//you can send only instance property (Gender) to the converter
<DataTemplate x:DataType="Models:Human">
<StackPanelHorizontalAlignment="Stretch" Background="{x:Bind Gender, Converter={StaticResource UnwantedDayColorConverter}}">
당신이 봤어 [this] (https://msdn.microsoft.com/en-gb/windows/uwp/xaml-platform/x-bind-markup-extension) 또는 [this] (https://msdn.microsoft.com/ko) -gb/windows/uwp/data-binding/data-binding-in-depth) 또는 [this] (https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlBind) 또는 [ 이] (http://stackoverflow.com/questio) ns/32582303/binding-vs-xbind-static-source-as-a-default-and-their-differences-d-d) 또는 [this] (http://stackoverflow.com/questions/37398038/difference-between - 바인딩 및 xbind)? 이 질문은 여러 번 전에 묻고 대답했습니다. –