Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

RenderButtonCustom.cs

namespace Nop.Web.Framework.Models.DataTables;

/// 
/// Represents button custom render for DataTables column
/// 
public partial class RenderButtonCustom : IRender
{
    #region Ctor

    /// 
    /// Initializes a new instance of the RenderButtonEdit class 
    /// 
    /// Class name of button
    /// Title button
    public RenderButtonCustom(string className, string title)
    {
        ClassName = className;
        Title = title;
    }

    #endregion

    #region Properties

    /// 
    /// Gets or sets Url to action
    /// 
    public string Url { get; set; }

    /// 
    /// Gets or sets button class name
    /// 
    public string ClassName { get; set; }

    /// 
    /// Gets or sets button title
    /// 
    public string Title { get; set; }

    /// 
    /// Gets or sets function name on click button
    /// 
    public string OnClickFunctionName { get; set; }

    #endregion
}