예제 #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);
 }
예제 #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());
 }
예제 #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());
 }
예제 #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);
 }
예제 #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()));
 }
예제 #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()));
 }