6 Answers, 1 is accepted
At this point, the RadMaskedInput does not expose such properties that allow you to easily set the TextAlignment or the Watermark TextAlignment. With this in mind, I have logged a feature request in our Ideas & Feedback portal. You can track its progress on the following link - MaskedInput: Expose TextAlignment property. Please subscribe to the item in order to be automatically notified when some update is available. I have also added some points to your account for the suggestion.
Regards,
Stefan Nenchev
Progress TelerikMaskedInput for Xamarin
I've voted for extra styling, also the ability to change the caret/cursor color, the pink doesn't fit styling guidelines for us.
Unless this controls behaviour can be extended via renderers at the minimum it's of limited use unfortunately.
More control of the border would be useful so you can apply a border only on the bottom etc so it's consistent cross platform rather than rendering radically different per platform, border suggest would apply to RadEntry too.
Regarding the border styling of both RadEntry and RadMaskedInput, you have a finer degree of control over the positioning and thickness by using the BorderStyle property.
Here's an example:
<
telerikInput:RadEntry
...>
<
telerikInput:RadEntry.BorderStyle
>
<
telerikInput:BorderStyle
BorderColor
=
"#FF888888"
CornerRadius
=
"0"
BorderThickness
=
"1,1,3,1"
/>
</
telerikInput:RadEntry.BorderStyle
>
</
telerikInput:RadEntry
>
and
<
telerikInput:RadMaskedInput
>
<
telerikInput:RadMaskedInput.BorderStyle
>
</
telerikInput:RadMaskedInput.BorderStyle
>
</
telerikInput:RadMaskedInput
>
For any other control that you'd like the same type of border styling, but it doesn't have a BorderStyle property, you can wrap the control in a RadBorder.
<
telerikPrimitives:RadBorder
CornerRadius
=
"0"
BorderColor
=
"Black"
BorderThickness
=
"1,1,1,3"
>
<!-- any Xamarin.Forms view -->
</
telerikPrimitives:RadBorder
>
If you have any scenario specific cases that you can't get the right border style for, open a ticket with a mock-up or description of the desired appearance and we'll do what we can to help you achieve it.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Hi Lance,
You cannot apply a border to just the bottom part of the RadBorder cross platform as far as I can see.
you cannot set the gravity of the text within the masked control to center it.
You cannot set the color of the cursor to hide it etc, apart from applying a mask you have little ability to style this control.
RadBorder sounds really useful but it's not documented anywhere, the documentation is really lacking, I did highlight this last year :)
Thanks,
Norman.
Hi lance,
Just spotted how you can set the border.
That is very useful, thanks. Viewing this post on a Samsung S5...not the biggest screen.
My points about the styling are valid though, I don't think you can set the text gravity on RadEntry either, it's really needed.
thanks
Thank you for the feedback, you're correct. We are aware of some missing styling features (that RadEntry has but not RadMaskedInput). If you have a list of features you'd like to see prioritized, let me know and I'll make sure the dev team is aware of them.,
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik