From 4c8389556c6ab4656d5b0d7255eeed11b49cc856 Mon Sep 17 00:00:00 2001 From: Alexandru Stefan Date: Mon, 3 Feb 2020 23:17:04 +0200 Subject: [PATCH] Expose BottomSheetState #2 --- XBottomSheet.Touch/Views/BottomSheetViewController.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/XBottomSheet.Touch/Views/BottomSheetViewController.cs b/XBottomSheet.Touch/Views/BottomSheetViewController.cs index 3d9fe42..6418ee7 100644 --- a/XBottomSheet.Touch/Views/BottomSheetViewController.cs +++ b/XBottomSheet.Touch/Views/BottomSheetViewController.cs @@ -15,6 +15,14 @@ public partial class BottomSheetViewController : UIViewController private BottomSheetState currentState; private UIView customView; + public BottomSheetState CurrentState + { + get + { + return currentState; + } + } + /// /// Gets or sets the duration of controller on how fast it should reach the anchor point. Default value is -2. ///