Salut,

Est -il possible de mettre du code dans XAML comme :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if cond then 
    <TextBox Name="txtNoSeqCert"
                         VerticalAlignment="Center"
                         HorizontalAlignment="Center"
                         Width="45"
                         IsReadOnly="True"
                         Text="{Binding Mode=OneWay,Path=nom}"/>
else
      <TextBox Name="txtNoSeqCert"
                         VerticalAlignment="Center"
                         HorizontalAlignment="Center"
                         Width="45"
                         IsReadOnly="True"
                         Text="{Binding Mode=OneWay,Path=prenom}"/>
end if
Sinon comment le faire?

Merci de m'aider