salut,
commnt je peux desactiver une propriété en DevExpress si une condition est validée.
j'ai procédé de cette manière:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12 public string MOTIF_BLOC { get { return _MOTIF_BLOC; } set { if (ST_BLOC) //ST_BLOC est un private bool { SetPropertyValue("Motif blocage", ref _MOTIF_BLOC, value); } } }
Mais la propriété n'est pas désactivée.![]()
Partager