Good Day
i have managed to customize the radchat and now i am using control template . and in the control tamplate i have an ChatEntry for some reason the textchanged event and focus event dont get fired.
<ControlTemplate x:Key="RadChat_ControlTemplate"><br> <Grid telerikInput:KeyboardHelper.IsTranslationTarget="True"<br> RowSpacing="2"><br> <Grid.RowDefinitions><br> <RowDefinition /><br> <RowDefinition Height="Auto" /><br> <RowDefinition Height="Auto" /><br> </Grid.RowDefinitions><br> <Image HorizontalOptions="FillAndExpand" x:Name="ctr1" VerticalOptions="FillAndExpand" Aspect="AspectFill" Source="chat_background.png" /><br><br> <telerikConversationalUI:ChatListView telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> AutoScrollMode="{TemplateBinding AutoScrollMode}"<br> ScrollMediator="{TemplateBinding ActualScrollMediator}"<br> Margin="{Binding Height, Source={x:Reference PickerContainer}, Converter={StaticResource ChatListViewMarginConverter}}"<br> ItemTemplate="{TemplateBinding ItemTemplateSelector}" <br> ItemsSource="{TemplateBinding Items}"<br> AutomationProperties.Name="ChatListView" /><br> <telerikCommon:RadContentView telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> Grid.Row="1"<br> Content="{TemplateBinding TypingIndicator}" /><br> <telerikCommon:RadContentView telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> x:Name="PickerContainer"<br> VerticalOptions="End"<br> Content="{TemplateBinding Picker}" /><br> <Grid Grid.Row="2" BackgroundColor="{TemplateBinding InputAreaBackgroundColor}" Padding="5, 0, 0, 0"><br> <Grid.ColumnDefinitions><br> <ColumnDefinition /><br> <ColumnDefinition Width="Auto" /><br> </Grid.ColumnDefinitions><br> <StackLayout Orientation="Horizontal" HorizontalOptions="StartAndExpand"><br> <telerikConversationalUI:ChatEntry telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> Text="{TemplateBinding Message, Mode=TwoWay}"<br> BackgroundColor="Transparent" WidthRequest="270"<br> VerticalOptions="Center" Keyboard="Chat"<br> CompletedCommand="{TemplateBinding ActualSendMessageCommand}"<br> FocusMediator="{TemplateBinding FocusMediator}"<br> telerikInput:KeyboardHelper.IsTranslationSource="True" /><br> <br> <telerikInput:RadButton x:Name="btnattach" <br> ImageSource="attach_final.png"<br> <br> Clicked="btnattach_Clicked"<br> telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> Grid.Column="1"<br> Margin="0, 0, 10, 0"<br> BackgroundImage="{TemplateBinding SendMessageButtonImage}"<br> BackgroundColor="Transparent" <br> WidthRequest="30"<br> HeightRequest="30"<br> VerticalOptions="Center"<br> /><br><br> <telerikInput:RadButton x:Name="btnsend" <br> ImageSource="send_final.png" <br> telerikCommon:StyleManager.InheritedStyleClass="{TemplateBinding ActualStyleClass}"<br> Grid.Column="1"<br> Margin="0, 0, 10, 0" <br> BackgroundImage="{TemplateBinding SendMessageButtonImage}"<br> BackgroundColor="Transparent" <br> WidthRequest="30"<br> HeightRequest="30"<br> VerticalOptions="Center"<br> Clicked="chat_send"<br> /><br> </StackLayout><br> </Grid><br> </Grid><br> </ControlTemplate>
<p>private void Txtchatmessage_TextChanged(object sender, TextChangedEventArgs e)<br> {</p><p>}</p>