Telerik Forums
UI for .NET MAUI Forum
2 answers
84 views

The Entry control exposes  a event after ClearButton click

Duygu
Telerik team
 answered on 29 Mar 2024
0 answers
28 views
Hello,

I'm using Telelik entry control but, I can't type Korean when I use it. Please check if there's any way to solve it and let me know.
fyi, i'm using Mac OS now.


hyunkyoo
Top achievements
Rank 1
 updated question on 13 Feb 2024
1 answer
51 views

Hello,

Even though I have set up VisualState for RadEntry as below; However, RadEntry always has a default background color of white when receiving focus (mouse click) - in WINDOWS platform, it only changes color as in the VisualState setting after moving the mouse out later. Please explain and guide how to solve the problem.


<VisualStateManager.VisualStateGroups>
    <VisualStateGroup x:Name="CommonStates">
        
        <VisualState x:Name="Normal">
            <VisualState.Setters>
                <Setter Property="BackgroundColor" Value="{AppThemeBinding Dark={StaticResource DarkMode_FrameBackground}, Light= {StaticResource LightMode_FrameBackground}}"/>
            </VisualState.Setters>
        </VisualState>

        <VisualState x:Name="PointerOver">
            <VisualState.Setters>
                <Setter Property="BackgroundColor" Value="#336699"/>
            </VisualState.Setters>
        </VisualState>

        <VisualState x:Name="Focused">
            <VisualState.Setters>
                <Setter Property="BackgroundColor" Value="#336699" />
            </VisualState.Setters>
        </VisualState>

    </VisualStateGroup>
</VisualStateManager.VisualStateGroups>

Didi
Telerik team
 answered on 07 Dec 2023
2 answers
99 views
I have tried the Entry control (RadEntry) this seems to be single line text

I have tried the RadRichTextEditor, this is only html, does this have a plain text mode?

I have tried RadDataForm with DataFormMultiLineEditor which has multi line text but cant seem to get a text selection.

Is there no a multi line text box that we can use in MAUI?
I have tried the standard Editor but the Text Selection seems odd and cannot figure that out?

This seems like an obvious control to have in the suite? Any ideas?
Didi
Telerik team
 answered on 23 Nov 2023
1 answer
37 views
Hi, is there a way to change the color of the text highlighting when a RadEntry is focused? Currently, we need this feature for our project.
Yana
Telerik team
 updated answer on 23 Oct 2023
1 answer
30 views

Hi All,

I just want to ask if it is possible to change the clear button icon in RadEntry? Currently, we have a feature that we need to display an exclamation point icon in the current clear button position if the user enters an invalid value. Also, upon pressing on that exclamation point, we need to display a pop up message.

Didi
Telerik team
 answered on 06 Oct 2023
1 answer
126 views

Hi, 

I'm trying to apply style for a disabled RadEntry in my current project but it is not working. Tried both styling from VisualStateManager and Style.Triggers but not working. Also strange that when I use the style from IsEnabled = true, the style is now working. Here's my code from Styles.xaml


<Style TargetType="telerik:RadEntry">
    <Setter Property="FontFamily" Value="OpenSansRegular"/>
    <Setter Property="FontSize" Value="14"/>
    <Setter Property="TextColor" Value="{StaticResource FieldTextColor}" />
    <Setter Property="BorderBrush" Value="{StaticResource FieldBorderBrushColor}"/>
    <Setter Property="BorderThickness" Value="1,1,1,2"/>
    <Setter Property="FocusedBorderBrush" Value="{StaticResource FieldBorderBrushColor}"/>
    <Setter Property="BackgroundColor" Value="{StaticResource FieldBackgroundColor}"/>
    <Setter Property="VisualStateManager.VisualStateGroups">
        <VisualStateGroupList>
            <VisualStateGroup x:Name="CommonStates">
                <VisualState x:Name="Normal"/>
                <VisualState x:Name="Disabled">
                    <VisualState.Setters>
                        <Setter Property="BackgroundColor" Value="{StaticResource FieldInactiveColor}"></Setter>
                        <Setter Property="TextColor" Value="{StaticResource FieldTextInactiveColor}"></Setter>
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateGroupList>
    </Setter>
    <!--<Style.Triggers>
        <Trigger TargetType="telerik:RadEntry" Property="IsEnabled" Value="False">
            <Setter Property="BackgroundColor" Value="{StaticResource FieldInactiveColor}"/>
            <Setter Property="TextColor" Value="{StaticResource FieldTextInactiveColor}"/>
        </Trigger>
    </Style.Triggers>-->
</Style>

 

Screenshot from the app:

Style should be like this

 

Maria
Telerik team
 answered on 21 Aug 2023
1 answer
346 views

Hello,

I want to know if RadEntry has any property or functionality that allows me to remove the bottom line when editing the text

Didi
Telerik team
 answered on 22 Jun 2023
1 answer
99 views

handlers.AddHandler(typeof(Telerik.Maui.Controls.RadEntry), typeof(RadEntryCustomHandler));

for ANDROID I have this Handler

public partial class RadEntryCustomHandler : RadEntryHandler
{
  protected override void ConnectHandler(RadMauiEntry nativeView)
  {
    try
    {
      nativeView.EditText.TextCursorDrawable.SetColorFilter(new PorterDuffColorFilter(Graphics.Color.White, PorterDuff.Mode.Darken));
    }
    catch { }
  }
}

 

for IOS I have this Handler

public class RadEntryCustomHandler : RadEntryHandler
{
  protected override void ConnectHandler(RadMauiEntry nativeView)
  {
    try
    {
      nativeView.TextField.TintColor = UIColor.White;
    }
    catch { }
  }
}

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Jun 2023
1 answer
80 views
RadEntry showing border only when got focus at bottom. can create renderer for RadEntry  to create box like border in android?
Didi
Telerik team
 answered on 09 Mar 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?