How to hide or remove particular tableSection(Xamarin.forms) which created by xaml?
Yes you can remove a section dynamically doing the following:
XAML:
<TableView x:Name="Table">
<TableSection x:Name="Section">
<TextCell Text="something"/>
</TableSection>
<TableSection x:Name="Section2">
<TextCell Text="something2"/>
</TableSection>
</TableView>
Code Behind:
Table.Root.Remove(Section);
-OR-
Table.Root.Remove(0); //If you know the index of the section
If you need to add it back at some point, be sure to store it in a variable in you code behind before removing it like so:
TableSection section = Table.Root[0];
-OR-
TableSection section = Table.Root.IndexOf(Section);