See Also: Cell Members
The subtypes of Xamarin.Forms.Cell are:
| Type | Description |
|---|---|
| EntryCell | A Xamarin.Forms.Cell with a label and a single line text entry field. |
| SwitchCell | A Xamarin.Forms.Cell with a label and an on/off switch. |
| TextCell | A Xamarin.Forms.Cell with primary and secondary text. |
| ImageCell | A Xamarin.Forms.TextCell that also includes an image. |
| ViewCell | A Xamarin.Forms.Cell containing a developer-defined Xamarin.Forms.View. |
The various subclasses are shown in the following image:

C# Example
Content = new TableView
{
Root = new TableRoot ("Table Title")
{
new TableSection("Section 1 Title")
{
new TextCell
{
Text = "TextCell Text",
Detail = "TextCell Detail"
},
new ImageCell
{
Text = "ImageCell Text",
Detail = "ImageCell Detail",
ImageSource = "http://xamarin.com/images/index/ide-xamarin-studio.png"
},
new EntryCell
{
Label = "EntryCell:",
Placeholder = "default keyboard",
Keyboard = Keyboard.Default
}
},
new TableSection("Section 2 Title")
{
new EntryCell
{
Label = "Another EntryCell:",
Placeholder = "phone keyboard",
Keyboard = Keyboard.Telephone
},
new SwitchCell
{
Text = "SwitchCell:"
},
new ViewCell
{
View = new StackLayout
{
Orientation = StackOrientation.Horizontal,
Children =
{
new Label
{
Text = "Custom Slider View:"
},
new Slider
{
}
}
}
}
}
}
}
The Xamarin.Forms.Cell class has the following XAML properties:
| Property | Value |
|---|---|
| ContextActions | A list of Xamarin.Forms.MenuItem objects to display when the user performs the context action. |
| IsEnabled | true or false, indicating whether the animation for Xamarin.Forms.ActivityIndicator is displayed. |