In an accordion on Xamarin try to hide an AccordionItem because in some cases there nothing to show. I added a binding to IsVisible on the AccordionItem and that hides the item but leaves an empty space. So, it's only invisible, but it is still there.
is there a way to hide AccordionItems, where the empty space is collapsed?
Kind regards,
Kees Alderliesten
5 Answers, 1 is accepted
I confirm this is an issue in the control, so I logged it in our public portal on your behalf, please follow the item below in order to receive email notifications on status changes:
https://feedback.telerik.com/xamarin/1388536-accordion-when-an-accordion-item-is-hidden-empty-space-is-still-rendered
I am positive we'll be able to resolve this in some of the upcoming minor releases.
I have updated your points for bringing this issue to our attention.
Let me know if you have any additional questions or concerns.
Regards,
Yana
Progress Telerik

Hello Yana,
Thanx for the feedback.
I have no further questions
about this issue.
One other thing that comes
to mind is the documentation of UI for Xamarin Forms. That is a bit sparse to
say the least…
I’m used to the documentation
of UI for ASP.NET Ajax (using it for years) and compared to that the UI for
Xamarin is very incomplete.
A few examples:
The documentation of the
Accordion control mentions properties for the Indicator, like IndicatorColor,
IndicatorFontSize etc (under AccordeonItem control)
But I have to find out
using Intellisense of Visual Studio that there are also properties like SelectedIndicatorColor,
SelectedIndicatorFontSize etc. Those aren’t mentioned at all (if I search for
it I find a similar property on other controls, like the SlideView, but not the
Accordion)
That you can apply border
properties like Color and Thickness to the Header and item can only be
deduced from the XAM code under ‘AccordeonItem control’, it isn’t mention in
the text.
Two examples of lacking
documentation I encountered, I’m sure I can find a lot more when using the
other controls.
So I’m now first checking
the code examples from the Telelrik UI for Xamarin app instead of reading the
docs. And that is not how it is supposed to work, I think..
Kind regards,
Kees Alderliesten
Thank you for sending your comments, much appreciated. I agree that UI for ASP.NET AJAX documentation is more thorough, and one reason behind is the maturity of the product.
We're constantly working on improving the documentation of our Xamarin suite, so any feedback is welcome. I completely agree that checking examples instead of looking into the docs is not the preferred approach.
Straight to the comments regarding Accordion documentation - I am not sure how you came across these properties (SelectedIndicatorColor, SelectedIndicatorFontSize) as they really do not exist for RadAccordionItem, could you check this again?
I have reviewed the topic for AccordionItem Control and there is a mention for border styling properties in the first section, however, there isn't an example. I'll make sure to update it.
If you come across missing content for other controls, please write to us again. Or you could send us directly feedback by clicking on the "Was this article helpful?" link at the bottom of each article.
Regards,
Yana
Progress Telerik

Hello Yana,
Regarding the SelectedIndicatorColor: my bad, searching for an example of missing info I mixed up two controls. This property comes from the SlideView, and is described there fairly clearly. Which info I missed instead I can't remember now, but when I find it, or a similar issue I let you know.
Kind regards,
Kees Alderliesten
Thank you for the follow-up.
We'll be looking forward to any feedback regarding our Xamarin controls' documentation.
Regards,
Yana
Progress Telerik