summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
diff options
context:
space:
mode:
authorKangho Hur <kangho.hur@samsung.com>2017-07-10 06:42:16 +0000
committerKangho Hur <kangho.hur@samsung.com>2017-07-10 06:42:16 +0000
commit26bf6937ff999599fcf7dbdeb08d1c9ac7605676 (patch)
treedc9e87a886dca078ab7c20aaea74113598c9c872 /Xamarin.Forms.Platform.Tizen/Renderers/TableViewRenderer.cs
parent509e6f117c9966e5503deb8ff1c5135b41eb2a3e (diff)
downloadxamarin-forms-26bf6937ff999599fcf7dbdeb08d1c9ac7605676.tar.gz
xamarin-forms-26bf6937ff999599fcf7dbdeb08d1c9ac7605676.tar.bz2
xamarin-forms-26bf6937ff999599fcf7dbdeb08d1c9ac7605676.zip
Revert "Move registration of property handles to static constructors"
This reverts commit 509e6f117c9966e5503deb8ff1c5135b41eb2a3e. Change-Id: Icb16fdc0b1006405a92e4e5ef77f20749c2ce3e5
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 76539a6d..58b17a4b 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)