0

I'm implementing a Silverlight 5 application, using framework .NET 4.0. I need to use the OneWayToSource binding but unfortunately it doesn't appear in the propositions.

OneWayToSourceProblem

I tried to know if it was due to the framework or the silverlight version which seems not to be the case.

Do you have any piece of information that might help ?

1 Answer 1

1

It is not available in Silverlight. You consulted the wrong page (full .Net).

[Edit] You can simulate it with a TwoWay-Binding and a ValueConverter that discards any input in its Convert method:

public class DiscardingConverter : IValueConverter
{
    public object Convert(...)
    {
        return DependencyProperty.UnsetValue;
    }
}

UnsetValue

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.