The label is basically correct, but about the content in not sure. Is it not because their occupation is artist? I just wondered why everything is in capitals.@ge2301
The ARTIST label seems to be taken from the occupation type of the ParsonAspect. Is taht correct? If yes, shouldn't it be localized?
Yes, it is but it is more of an type ID than it is a label. It's to identify what type of person the data is for. You can see the different types of persons here.Is it not because their occupation is artist?
I localized, but there are 2 small issues for which I need a dev hint:Ok, that explains the capital letters . I'll add a localized label based on the property of occupation.
<Label FontSize="{ThemeResource SmallFontSize}" Color="{ThemeResource MenuTextBackground}" Opacity="1.3">
<Label.Content>
<MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}"
ConverterParameter="{}{0} == ARTIST ? {1} : ({0} == ACTOR ? {2} : ({0} == WRITER ? {3} : ({0} == DIRECTOR ? {4} : ({0} == COMPOSER ? {5}))))">
<Binding Path="Occupation"/>
<Binding Source="[Media.ArtistOccupationName]"/>
<Binding Source="[Media.ActorOccupationName]"/>
<Binding Source="[Media.WriterOccupationName]"/>
<Binding Source="[Media.DirectorOccupationName]"/>
<Binding Source="[Media.ComposerOccupationName]"/>
</MultiBinding>
</Label.Content>
</Label>
<Label FontSize="{ThemeResource SmallFontSize}" Color="{ThemeResource MenuTextBackground}" Opacity="1.3">
<Label.Content>
<MultiBinding Converter="{StaticResource ExpressionMultiValueConverter}"
ConverterParameter="{}{0} == {1} ? {6} : ({0} == {2} ? {7} : ({0} == {3} ? {8} : ({0} == {4} ? {9} : ({0} == {5} ? {10}))))">
<Binding Path="Occupation"/>
<Binding Source="ARTIST"/>
<Binding Source="ACTOR"/>
<Binding Source="WRITER"/>
<Binding Source="DIRECTOR"/>
<Binding Source="COMPOSER"/>
<Binding Source="[Media.ArtistOccupationName]"/>
<Binding Source="[Media.ActorOccupationName]"/>
<Binding Source="[Media.WriterOccupationName]"/>
<Binding Source="[Media.DirectorOccupationName]"/>
<Binding Source="[Media.ComposerOccupationName]"/>
</MultiBinding>
</Label.Content>
</Label>
I'm just guessing, but shouldn't it be \"ARTIST\", \"ACTOR\" etc.?{0} == ARTIST
you are not alone...I *cannot* wait for MP2.1 to be available