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
}
/// <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()
Interop.Elementary.elm_config_all_flush();
}
}
-}
\ No newline at end of file
+}