Setting focus programatically or on xaml declaration doesnt fit its purpose, when using the material theme.
The textbox gets the carret, but its not blinking, keypresses doesnt change the text, and the "selected color bar" in the bottom does not fill up.
suggestions??
[code]
<telerik:RadPasswordBox x:Name="txt" Background="White" WatermarkContent="Digite a Senha" HorizontalContentAlignment="Center" Margin="20 0 20 0" WatermarkBehavior="HideOnTextEntered">
<telerik:RadWatermarkTextBox.InputBindings>
<KeyBinding Command="{Binding ValidarSenhaCommand}" CommandParameter="{Binding ElementName=txt}" Key="Enter" />
</telerik:RadWatermarkTextBox.InputBindings>
</telerik:RadPasswordBox>
[/code]
[code]
private void UserControl_Loaded(object sender, RoutedEventArgs e)
{
txt.Focus();
}
[/code]