Table of Contents

Class CSSStyleProperties

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The CSSStyleProperties interface of the CSS Object Model (CSSOM) represents inline or computed styles available on an element, or the styles associated with a CSS style rule.

[Value("CSSStyleProperties")]
public class CSSStyleProperties : CSSStyleDeclaration
Inheritance
CSSStyleProperties
Inherited Members

Remarks

Constructors

CSSStyleProperties()

public CSSStyleProperties()

Properties

CssFloat

The cssFloat property of the CSSStyleProperties interface returns the CSS {{cssxref("float")}} property.

[Value("cssFloat")]
public string CssFloat { get; set; }

Property Value

string

A string.When set to the null value, that null value is converted to the empty string (""), so csd.cssFloat = null is equivalent to csd.cssFloat = "".

Remarks

This is the result of invoking GetPropertyValue(string) on the object with float as an argument.

When setting, it invokes SetProperty(string, string, string) with float as the first argument, and the given value as the second argument.
The given value must be a valid value for the float property.

See also on MDN