TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
guenter Alzinger
NA
2
1.5k
Binding and Converter via IValueConverter
Mar 2 2016 6:45 AM
In a binding you can use the property Converter to provide a specific converter class, inherited from IValueConverter, to it.
My question is know, if it is somehow possible to create a user control like
public class MyTextBox : TextBox, IValueConverter
and assign this, i.e. the textbox itself, to the Converter property in the Binding expression.
Example:
<MyTextBox... Text="{Binding Path=Price, Mode=TwoWay, Converter={RelativeSource Self}}"... />
Thx a lot for your support.
Reply
Answers (
0
)
How to Get List Of Applications in Window.
How to change the dynamic resource in the Button Click