/// <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); }
/// <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()); }
/// <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()); }
/// <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())); }
/// <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())); }