33 references to TableView
Microsoft.Maui.Controls (33)
Cells\Cell.cs (3)
139
var
table = RealParent as
TableView
;
166
if ((Parent as ListView)?.HasUnevenRows == true || (Parent as
TableView
)?.HasUnevenRows == true)
Compatibility\Handlers\TableView\iOS\TableViewModelRenderer.cs (11)
23
protected
TableView
View;
26
WeakReference<
TableView
> _tableView;
34
internal
TableView
TableView
36
get => _tableView is not null && _tableView.TryGetTarget(out
var
t) ? t : null;
40
public TableViewModelRenderer(
TableView
model)
51
if (TableView is not
TableView
table)
61
if (TableView is not
TableView
table)
73
if (TableView is not
TableView
table)
96
if (headerView is UITableViewHeaderFooterView header && TableView is
TableView
table)
178
public UnEvenTableViewModelRenderer(
TableView
model) : base(model)
184
if (TableView is not
TableView
table)
Compatibility\Handlers\TableView\iOS\TableViewRenderer.cs (5)
12
public class TableViewRenderer : ViewRenderer<
TableView
, UITableView>
68
protected override void OnElementChanged(ElementChangedEventArgs<
TableView
> e)
99
if (e.PropertyName ==
TableView
.RowHeightProperty.PropertyName)
101
else if (e.PropertyName ==
TableView
.HasUnevenRowsProperty.PropertyName)
135
var
modeledView = Element;
Compatibility\iOS\Extensions\CellExtensions.cs (1)
27
else if (self.RealParent is
TableView
)
Element\Element.cs (2)
32
/// <description> Cells are elements meant to be added to <see cref="ListView"/> or <see cref="
TableView
"/>.</description>
45
/// <description>The lower part of the diagram shows the Microsoft.Maui.Controls classes for universally-available controls, such as <see cref = "Button"/> and <see cref="
TableView
"/>.</description>
Hosting\AppHostBuilderExtensions.cs (1)
129
handlersCollection.AddHandler(typeof(
TableView
), typeof(Handlers.Compatibility.TableViewRenderer));
Internals\CellExtensions.cs (1)
43
return
TableView
.TableSectionModel.GetPath(cell);
TableView\TableView.cs (9)
16
public class TableView : View, ITableViewController, IElementConfiguration<
TableView
>, IVisualTreeElement
19
public static readonly BindableProperty RowHeightProperty = BindableProperty.Create(nameof(RowHeight), typeof(int), typeof(
TableView
), -1);
22
public static readonly BindableProperty HasUnevenRowsProperty = BindableProperty.Create(nameof(HasUnevenRows), typeof(bool), typeof(
TableView
), false);
24
readonly Lazy<PlatformConfigurationRegistry<
TableView
>> _platformConfigurationRegistry;
44
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
TableView
>>(() => new PlatformConfigurationRegistry<
TableView
>(this));
149
public IPlatformElementConfiguration<T,
TableView
> On<T>() where T : IConfigPlatform
177
readonly
TableView
_parent;
180
public TableSectionModel(
TableView
tableParent, TableRoot tableRoot)