I have a button on a form that I call DataContext of my DomainDataSource. IO loading true ; I want to bind the IsEnabled property of the button! Bet on DomainContext.Is Loading and unfortunately I do not know how to handle it as a conditional expression, I can work it behind my desired fashion, but the way I I do not want it to be that way My question is, how can I do it? Effectively be one! Condition with condition (this definitely does not work): On the code> conversion, the value is reduced.
& gt; Button IsEnabled = "{Bying ElementName = Some Domain Datasource, Path =! DomainContext.IsLoading}" /> You can use a ValueConverter for this, some
BooleanInverter
Comments
Post a Comment