/// <summary>
    ///   <para>Visual layout/appearance of the button.</para>
    /// </summary>
    /// <param name="widget">Widget to call method on.</param>
    /// <param name="layout">Layout of button.</param>
    /// <returns>Reference to provided <paramref name="widget"/>.</returns>
    /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception>
    /// <seealso cref="IYandexSharePanelWidget.Layout(string)"/>
    public static IYandexSharePanelWidget Layout(this IYandexSharePanelWidget widget, YandexSharePanelLayout layout)
    {
      Assertion.NotNull(widget);

      return widget.Layout(layout.ToString().ToLowerInvariant());
    }
        /// <summary>
        ///   <para>Visual layout/appearance of the button.</para>
        /// </summary>
        /// <param name="widget">Widget to call method on.</param>
        /// <param name="layout">Layout of button.</param>
        /// <returns>Reference to provided <paramref name="widget"/>.</returns>
        /// <exception cref="ArgumentNullException">If <paramref name="widget"/> is a <c>null</c> reference.</exception>
        /// <seealso cref="IYandexSharePanelWidget.Layout(string)"/>
        public static IYandexSharePanelWidget Layout(this IYandexSharePanelWidget widget, YandexSharePanelLayout layout)
        {
            Assertion.NotNull(widget);

            return(widget.Layout(layout.ToString().ToLowerInvariant()));
        }