mathpaquette
mathpaquette

Reputation: 436

WPF binding expression in combination with Static or StaticResource

Is it possible to use Static or StaticResource in a WPF binding expression to achieve something like this IsChecked="{Binding MyArray[{StaticResource MyIntValue}].Value}" without using converter? Thanks

Upvotes: 0

Views: 128

Answers (1)

Blindy
Blindy

Reputation: 67524

No, not without a converter. The good news is that the converter is pretty trivial though!

Upvotes: 1

Related Questions