This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, I am having some issues with mvvm when I bind in code behind. var bindTitlevisibility = new Binding("IsTitleVisible") { Converter = new BoolToVisibilityConverter(), ConverterParameter = "IsTitleVisible", FallbackValue = Visibility.Visible }; SetBinding(TitleProperty, "AxisTitle"); SetBinding(TitleVisibilityProperty, bindTitlevisibility); /// /// The title does not get displayed. However, the converter gets accessed with the right value. I have the same approach(bindings in the code behind) to hide or display the minor tickmarks and it works. The other issue I see is the labels do not get displayed when all bindings are done in code behind. Any ideea if I am doing something wrong? Thanks, Peter |
|
|
Hello I have looked through the code and nothing stands out as being wrong. Would you be able to send a simple repro that I can look into further? -Jason |
|