2
Vote

Bidi text box doesn't work with silverlight toolkit's AutoCompleteBox

description

AutoCompleteBox allows redefining the template for the items but uses a text box to enter the filter string, and because the bidi controls are new controls that don't inherit from the original controls, they cannot be used to make the auto complete right aligned.
 
Question - why was it decided that the TextBlock and TextBox control be new controls instead of inheriting from the original System.Windows.Controls.TextBox/Block?

comments

y_makram wrote Feb 7, 2009 at 12:11 AM

TextBlock is sealed class, so we could not inherit from.
TextBox built-in extensibility did not give control over keyboard events, as the TextBox already processes the event before firing it, which is too late for perform bidi changes.

wrote Feb 12, 2013 at 9:31 PM