Class ColorPicker
Implements
System.Web.IHtmlString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class ColorPicker : Control, IHtmlString
Constructors
ColorPicker()
Initializes a new instance of the ColorPicker class.
Declaration
public ColorPicker()
ColorPicker(String, ColorPickerProperties)
Initializes a new instance of the ColorPicker class by the specified id and the color picker properties.
Declaration
public ColorPicker(string id, ColorPickerProperties propModel)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | |
ColorPickerProperties | propModel |
Properties
ColorPickerModel
Gets or sets the color picker model object of the color picker properties.
Declaration
public ColorPickerProperties ColorPickerModel { get; set; }
Property Value
Type | Description |
---|---|
ColorPickerProperties |
Model
Instance of control properties class
Declaration
protected override object Model { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
PluginName
Gets the plugin name of the color picker as 'ejColorPicker'.
Declaration
public override string PluginName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
TagName
Gets the tag name of the color picker element as 'div'.
Declaration
public override string TagName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
CreateContainer(String)
Represents an HTML-encoded string of the color picker control that should not be encoded again.
Declaration
public override HtmlString CreateContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
CreateUnObtrusiveContainer(String)
Represents an HTML-encoded string of the color picker control with directives.
Declaration
public override HtmlString CreateUnObtrusiveContainer(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Returns
Type | Description |
---|---|
System.Web.HtmlString |
Overrides
RenderControl(String)
Represents an HTML element of the color picker control.
Declaration
public override void RenderControl(string controlId)
Parameters
Type | Name | Description |
---|---|---|
System.String | controlId |
Overrides
Implements
System.Web.IHtmlString