1 type derived from TextCell
Microsoft.Maui.Controls (1)
Cells\ImageCell.cs (1)
7
public class ImageCell :
TextCell
2 instantiations of TextCell
Microsoft.Maui.Controls (2)
ListView\ListView.cs (1)
416
TextCell textCell = new
TextCell
();
TableView\TableModel.cs (1)
21
return new
TextCell
{ Text = item.ToString() };
30 references to TextCell
Microsoft.Maui.Controls (30)
Cells\TextCell.cs (12)
12
public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(
TextCell
), default(ICommand),
15
var
textCell = (
TextCell
)bindable;
21
var
textCell = (
TextCell
)bindable;
31
public static readonly BindableProperty CommandParameterProperty = BindableProperty.Create(nameof(CommandParameter), typeof(object), typeof(
TextCell
), default(object),
34
var
textCell = (
TextCell
)bindable;
42
public static readonly BindableProperty TextProperty = BindableProperty.Create(nameof(Text), typeof(string), typeof(
TextCell
), default(string));
45
public static readonly BindableProperty DetailProperty = BindableProperty.Create(nameof(Detail), typeof(string), typeof(
TextCell
), default(string));
48
public static readonly BindableProperty TextColorProperty = BindableProperty.Create(nameof(TextColor), typeof(Color), typeof(
TextCell
), null);
51
public static readonly BindableProperty DetailColorProperty = BindableProperty.Create(nameof(DetailColor), typeof(Color), typeof(
TextCell
), null);
Compatibility\Handlers\ListView\iOS\ListViewRenderer.cs (1)
893
itemTypeOrDataTemplate = typeof(
TextCell
);
Compatibility\Handlers\ListView\iOS\TextCellRenderer.cs (13)
22
var
textCell = (
TextCell
)item;
53
var
textCell = (
TextCell
)sender;
57
if (args.PropertyName ==
TextCell
.TextProperty.PropertyName)
59
tvc.TextLabel.Text = ((
TextCell
)tvc.Cell).Text;
62
else if (args.PropertyName ==
TextCell
.DetailProperty.PropertyName)
64
tvc.DetailTextLabel.Text = ((
TextCell
)tvc.Cell).Detail;
67
else if (args.PropertyName ==
TextCell
.TextColorProperty.PropertyName)
69
else if (args.PropertyName ==
TextCell
.DetailColorProperty.PropertyName)
73
else if (args.PropertyName ==
TextCell
.AutomationIdProperty.PropertyName)
79
void UpdateAutomationId(CellTableViewCell tvc,
TextCell
cell)
92
static void UpdateIsEnabled(CellTableViewCell cell,
TextCell
entryCell)
Hosting\AppHostBuilderExtensions.cs (1)
125
handlersCollection.AddHandler(typeof(
TextCell
), typeof(Handlers.Compatibility.TextCellRenderer));
ListView\ListView.cs (2)
416
TextCell
textCell = new TextCell();
417
textCell.SetBinding(
TextCell
.TextProperty, static (object cell) => cell, BindingMode.OneWay, _toStringValueConverter);
TemplatedItemsList.cs (1)
764
TextCell
.TextProperty,