Webiant Logo Webiant Logo
  1. No results found.

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

RenderCheckBox.cs

namespace Nop.Web.Framework.Models.DataTables;

/// 
/// Represents checkbox render for DataTables column
/// 
public partial class RenderCheckBox : IRender
{
    #region Ctor

    /// 
    /// Initializes a new instance of the RenderCheckBox class 
    /// 
    /// Checkbox name
    /// Property key name ("Id" by default). This property must be defined in the row dataset.
    public RenderCheckBox(string name, string propertyKeyName = "Id")
    {
        Name = name;
        PropertyKeyName = propertyKeyName;
    }

    #endregion

    #region Properties

    /// 
    /// Gets or sets name checkbox
    /// 
    public string Name { get; set; }

    /// 
    /// Gets or sets identificator for row 
    /// 
    public string PropertyKeyName { get; set; }

    #endregion
}