summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
index 76539a6..58b17a4 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
@@ -7,10 +7,10 @@ namespace Xamarin.Forms.Platform.Tizen
{
internal static BindableProperty PresentationProperty = BindableProperty.Create("Presentation", typeof(View), typeof(TableSectionBase), null, BindingMode.OneWay, null, null, null, null, null as BindableProperty.CreateDefaultValueDelegate);
- static TableViewRenderer()
+ public TableViewRenderer()
{
- RegisterPropertyHandler(TableView.HasUnevenRowsProperty, (r) => (r as TableViewRenderer).UpdateHasUnevenRows());
- RegisterPropertyHandler(TableView.RowHeightProperty, (r) => (r as TableViewRenderer).UpdateRowHeight());
+ RegisterPropertyHandler(TableView.HasUnevenRowsProperty, UpdateHasUnevenRows);
+ RegisterPropertyHandler(TableView.RowHeightProperty, UpdateRowHeight);
}
protected override void OnElementChanged(ElementChangedEventArgs<TableView> e)