Merge "Remove the summary for non-browserble API" into tizen
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Elementary.cs
index bb09638..7984f83 100644 (file)
@@ -21,6 +21,25 @@ using System.IO;
 namespace ElmSharp
 {
     /// <summary>
+    /// Focus Autoscroll Mode
+    /// </summary>
+    public enum FocusAutoScrollMode
+    {
+        /// <summary>
+        /// Directly show the focused region or item automatically
+        /// </summary>
+        Show,
+        /// <summary>
+        /// Do not show the focused region or item automatically
+        /// </summary>
+        None,
+        /// <summary>
+        /// Bring in the focused region or item automatically which might invole the scrolling
+        /// </summary>
+        BringIn
+    }
+
+    /// <summary>
     /// The Elementary is a General Elementary,a VERY SIMPLE toolkit.
     /// </summary>
     public static class Elementary
@@ -134,6 +153,21 @@ namespace ElmSharp
         }
 
         /// <summary>
+        /// Gets of sets focus auto scroll mode.
+        /// </summary>
+        public static FocusAutoScrollMode FocusAutoScrollMode
+        {
+            get
+            {
+                return (FocusAutoScrollMode)Interop.Elementary.elm_config_focus_autoscroll_mode_get();
+            }
+            set
+            {
+                Interop.Elementary.elm_config_focus_autoscroll_mode_set((Interop.Elementary.Elm_Focus_Autoscroll_Mode)value);
+            }
+        }
+
+        /// <summary>
         /// Initializes Elementary.
         /// </summary>
         public static void Initialize()
@@ -302,4 +336,4 @@ namespace ElmSharp
             Interop.Elementary.elm_config_all_flush();
         }
     }
-}
\ No newline at end of file
+}