Class RadioButtonPropertiesBuilder
Inheritance
System.Object
RadioButtonPropertiesBuilder
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()
Assembly: Syncfusion.EJ.dll
public class RadioButtonPropertiesBuilder : IPropertiesBuilder, IHtmlString
Constructors
Declaration
public RadioButtonPropertiesBuilder()
Declaration
public RadioButtonPropertiesBuilder(RadioButton button)
Parameters
Fields
Declaration
public RadioButton button
Field Value
Methods
Specifies to check the radio button.
Declaration
public RadioButtonPropertiesBuilder Checked()
Returns
Specifies the check attribute of the radio button with the specified boolean argument.
Declaration
public RadioButtonPropertiesBuilder Checked(bool check)
Parameters
Type |
Name |
Description |
System.Boolean |
check |
|
Returns
Specifies the radio button client side events.
Declaration
public RadioButtonPropertiesBuilder ClientSideEvents(Action<RadioButtonClientSideEventsBuilder> clientSideEvents)
Parameters
Returns
Specify the CSS class to radio button for theme customization.
Declaration
public RadioButtonPropertiesBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
Specifies the radio button control respond for user interaction.
Declaration
public RadioButtonPropertiesBuilder Enabled()
Returns
Specifies the radio button control respond for user interaction with the specified boolean argument.
Declaration
public RadioButtonPropertiesBuilder Enabled(bool enabled)
Parameters
Type |
Name |
Description |
System.Boolean |
enabled |
|
Returns
Persists radio button model value even after form post back or browser refresh.
Declaration
public RadioButtonPropertiesBuilder EnablePersistence()
Returns
Persists radio button model value even after form post back or browser refresh with the specified argument.
Declaration
public RadioButtonPropertiesBuilder EnablePersistence(bool persist)
Parameters
Type |
Name |
Description |
System.Boolean |
persist |
|
Returns
Specifies to align the radio button content in right to left direction.
Declaration
public RadioButtonPropertiesBuilder EnableRTL()
Returns
Specifies to align the radio button content in right to left direction with the specified boolean argument.
Declaration
public RadioButtonPropertiesBuilder EnableRTL(bool rtl)
Parameters
Type |
Name |
Description |
System.Boolean |
rtl |
|
Returns
Specifies to map the field of HTML attributes for the radio button element.
Declaration
public RadioButtonPropertiesBuilder HtmlAttributes(IDictionary<string, object> itemHtmlAttributes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
itemHtmlAttributes |
|
Returns
Specifies the id attribute of the radio button.
Declaration
public RadioButtonPropertiesBuilder Id(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Specifies the idprefix value to be added before the current id of the radio button.
Declaration
public RadioButtonPropertiesBuilder IdPrefix(string idPrefix)
Parameters
Type |
Name |
Description |
System.String |
idPrefix |
|
Returns
Specifies the name attribute of the radio button.
Declaration
public RadioButtonPropertiesBuilder Name(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Declaration
Specifies the size of the radio button.
Declaration
public RadioButtonPropertiesBuilder Size(RadioButtonSize size)
Parameters
Returns
Text(String)
Specifies the text content for radio button.
Declaration
public RadioButtonPropertiesBuilder Text(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Represents an HTML-encoded string.
Declaration
public string ToHtmlString()
Returns
Type |
Description |
System.String |
|
Set the jquery validation error message in radio button.with array argument.This API is deprecated, please use ValidationMessages instead of this.
Declaration
[Obsolete("The ValidationMessage property has been deprecated.Use 'ValidationMessages' instead")]
public RadioButtonPropertiesBuilder ValidationMessage(Action<RadioButtonValidationMessageBuilder> validationMessage)
Parameters
Returns
Set the jquery validation error message in radio button.with dictionary argument.This API is deprecated, please use ValidationMessages instead of this.
Declaration
[Obsolete("The ValidationMessage property has been deprecated.Use 'ValidationMessages' instead")]
public RadioButtonPropertiesBuilder ValidationMessage(Dictionary<string, object> validationMessage)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
validationMessage |
|
Returns
Set the jquery validation error message in radio button.with array argument.
Declaration
public RadioButtonPropertiesBuilder ValidationMessages(Action<RadioButtonValidationMessageBuilder> validationMessage)
Parameters
Returns
Declaration
public RadioButtonPropertiesBuilder ValidationMessages(Dictionary<string, object> validationMessage)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
validationMessage |
|
Returns
Set the jquery validation rules in radio button.with array argument.
Declaration
public RadioButtonPropertiesBuilder ValidationRules(Action<RadioButtonValidationRuleBuilder> validationRule)
Parameters
Returns
Set the jquery validation rules in radio button.with dictionary argument.
Declaration
public RadioButtonPropertiesBuilder ValidationRules(Dictionary<string, object> validationRule)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
validationRule |
|
Returns
Specifies the value atribute of the radio button.
Declaration
public RadioButtonPropertiesBuilder Value(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Returns
Implements
System.Web.IHtmlString