Exemple #1
0
 /// <summary>
 /// Sets a property.
 /// </summary>
 /// <param name="property">The HTML property.</param>
 /// <param name="value">The value to set.</param>
 public void SetProperty(HtmlProperty property, object value)
 {
     SetProperty(property.ScriptPropertyName(), value);
 }
Exemple #2
0
 /// <summary>
 /// Gets a property.
 /// </summary>
 /// <param name="property">The HTML property.</param>
 /// <returns>Returns the value.</returns>
 public object GetProperty(HtmlProperty property)
 {
     return GetProperty(property.ScriptPropertyName());
 }
Exemple #3
0
 /// <summary>
 /// Get a property value as an integer.
 /// </summary>
 /// <param name="property">The ScriptObject property name.</param>
 /// <returns>Returns the property value.</returns>
 protected int GetPropertyNumber(HtmlProperty property)
 {
     return GetPropertyNumber(property.ScriptPropertyName());
 }
Exemple #4
0
 /// <summary>
 /// Sets a property.
 /// </summary>
 /// <param name="property">The HTML property.</param>
 /// <param name="value">The value to set.</param>
 public void SetProperty(HtmlProperty property, object value)
 {
     SetProperty(property.ScriptPropertyName(), value);
 }
Exemple #5
0
 /// <summary>
 /// Gets a property.
 /// </summary>
 /// <param name="property">The HTML property.</param>
 /// <returns>Returns the value.</returns>
 public object GetProperty(HtmlProperty property)
 {
     return(GetProperty(property.ScriptPropertyName()));
 }
Exemple #6
0
 /// <summary>
 /// Get a property value as an integer.
 /// </summary>
 /// <param name="property">The ScriptObject property name.</param>
 /// <returns>Returns the property value.</returns>
 protected int GetPropertyNumber(HtmlProperty property)
 {
     return(GetPropertyNumber(property.ScriptPropertyName()));
 }