summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeungkeun Lee <sngn.lee@samsung.com>2016-12-27 09:50:52 +0900
committerSeungkeun Lee <sngn.lee@samsung.com>2016-12-27 09:50:52 +0900
commit336ffb60b22fb9ed2851d12a3152c6b79a466750 (patch)
tree620017d63d8f31ab4fc67f6e711083eccb260b44
parent4678bcda9ae352c0b7fdaaf10e87eef40900369f (diff)
downloadxamarin-forms-336ffb60b22fb9ed2851d12a3152c6b79a466750.tar.gz
xamarin-forms-336ffb60b22fb9ed2851d12a3152c6b79a466750.tar.bz2
xamarin-forms-336ffb60b22fb9ed2851d12a3152c6b79a466750.zip
Apply initial value of Cell.IsEnabled
- Cell.IsEnabled was false when listview was created, this value was not applied to listview Change-Id: I1ddc23c440189c5bcca762194b9c91c80bc1c8a6
-rw-r--r--Xamarin.Forms.Platform.Tizen/Native/ListView.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/ListView.cs b/Xamarin.Forms.Platform.Tizen/Native/ListView.cs
index e932a28e..f5047b3d 100644
--- a/Xamarin.Forms.Platform.Tizen/Native/ListView.cs
+++ b/Xamarin.Forms.Platform.Tizen/Native/ListView.cs
@@ -501,6 +501,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
}
groupItemContext.Item.SelectionMode = GenListSelectionMode.None;
+ groupItemContext.Item.IsEnabled = groupCell.IsEnabled;
groupItemContext.IsGroupItem = true;
groupItemContext.ListOfSubItems = groupList;
@@ -543,6 +544,7 @@ namespace Xamarin.Forms.Platform.Tizen.Native
}
itemContext.Item.SelectionMode = GenListSelectionMode.Always;
+ itemContext.Item.IsEnabled = cell.IsEnabled;
cell.PropertyChanged += OnCellPropertyChanged;
(cell as ICellController).ForceUpdateSizeRequested += OnForceUpdateSizeRequested;