ICSSStyleDeclaration class
ICSSStyleDeclaration class
The CSSStyleDeclaration interface represents a single CSS declaration block. This interface may be used to determine the style properties currently set in a block or to set style properties explicitly within the block.
The ICSSStyleDeclaration type exposes the following members:
Properties
Property | Description |
---|---|
css_text | The parsable textual representation of the declaration block (excluding the surrounding curly braces). Setting this attribute will result in the parsing of the new value and resetting of all the properties in the declaration block including the removal or addition of properties. |
length | The number of properties that have been explicitly set in this declaration block. The range of valid indices is 0 to length-1 inclusive. |
parent_rule | The CSS rule that contains this declaration block or null if this CSSStyleDeclaration is not attached to a CSSRule. |
azimuth | See the azimuth property definition in CSS2. |
background | See the background property definition in CSS2. |
background_attachment | See the background-attachment property definition in CSS2. |
background_color | See the background-color property definition in CSS2. |
background_image | See the background-image property definition in CSS2. |
background_position | See the background-position property definition in CSS2. |
background_repeat | See the background-repeat property definition in CSS2. |
border | See the border property definition in CSS2. |
border_collapse | See the border-collapse property definition in CSS2. |
border_color | See the border-color property definition in CSS2. |
border_spacing | See the border-spacing property definition in CSS2. |
border_style | See the border-style property definition in CSS2. |
border_top | See the border-top property definition in CSS2. |
border_right | See the border-right property definition in CSS2. |
border_bottom | See the border-bottom property definition in CSS2. |
border_left | See the border-left property definition in CSS2. |
border_top_color | See the border-top-color property definition in CSS2. |
border_right_color | See the border-right-color property definition in CSS2. |
border_bottom_color | See the border-bottom-color property definition in CSS2. |
border_left_color | See the border-left-color property definition in CSS2. |
border_top_style | See the border-top-style property definition in CSS2. |
border_right_style | See the border-right-style property definition in CSS2. |
border_bottom_style | See the border-bottom-style property definition in CSS2. |
border_left_style | See the border-left-style property definition in CSS2. |
border_top_width | See the border-top-width property definition in CSS2. |
border_right_width | See the border-right-width property definition in CSS2. |
border_bottom_width | See the border-bottom-width property definition in CSS2. |
border_left_width | See the border-left-width property definition in CSS2. |
border_width | See the border-width property definition in CSS2. |
bottom | See the bottom property definition in CSS2. |
caption_side | See the caption-side property definition in CSS2. |
clear | See the clear property definition in CSS2. |
clip | See the clip property definition in CSS2. |
color | See the color property definition in CSS2. |
content | See the content property definition in CSS2. |
counter_increment | See the counter-increment property definition in CSS2. |
counter_reset | See the counter-reset property definition in CSS2. |
cue | See the cue property definition in CSS2. |
cue_after | See the cue-after property definition in CSS2. |
cue_before | See the cue-before property definition in CSS2. |
cursor | See the cursor property definition in CSS2. |
direction | See the direction property definition in CSS2. |
display | See the display property definition in CSS2. |
elevation | See the elevation property definition in CSS2. |
empty_cells | See the empty-cells property definition in CSS2. |
float | See the float property definition in CSS2. |
font | See the font property definition in CSS2. |
font_family | See the font-family property definition in CSS2. |
font_size | See the font-size property definition in CSS2. |
font_size_adjust | See the font-size-adjust property definition in CSS2. |
font_stretch | See the font-stretch property definition in CSS2. |
font_style | See the font-style property definition in CSS2. |
font_variant | See the font-variant property definition in CSS2. |
font_weight | See the font-weight property definition in CSS2. |
height | See the height property definition in CSS2. |
left | See the left property definition in CSS2. |
letter_spacing | See the letter-spacing property definition in CSS2. |
line_height | See the line-height property definition in CSS2. |
list_style | See the list-style property definition in CSS2. |
list_style_image | See the list-style-image property definition in CSS2. |
list_style_position | See the list-style-position property definition in CSS2. |
list_style_type | See the list-style-type property definition in CSS2. |
margin | See the margin property definition in CSS2. |
margin_top | See the margin-top property definition in CSS2. |
margin_right | See the margin-right property definition in CSS2. |
margin_bottom | See the margin-bottom property definition in CSS2. |
margin_left | See the margin-left property definition in CSS2. |
marker_offset | See the marker-offset property definition in CSS2. |
marks | See the marks property definition in CSS2. |
max_height | See the max-height property definition in CSS2. |
max_width | See the max-width property definition in CSS2. |
min_height | See the min-height property definition in CSS2. |
min_width | See the min-width property definition in CSS2. |
orphans | See the orphans property definition in CSS2. |
outline | See the outline property definition in CSS2. |
outline_color | See the outline-color property definition in CSS2. |
outline_style | See the outline-style property definition in CSS2. |
outline_width | See the outline-width property definition in CSS2. |
overflow | See the overflow property definition in CSS2. |
padding | See the padding property definition in CSS2. |
padding_top | See the padding-top property definition in CSS2. |
padding_right | See the padding-right property definition in CSS2. |
padding_bottom | See the padding-bottom property definition in CSS2. |
padding_left | See the padding-left property definition in CSS2. |
page | See the page property definition in CSS2. |
page_break_after | See the page-break-after property definition in CSS2. |
page_break_before | See the page-break-before property definition in CSS2. |
page_break_inside | See the page-break-inside property definition in CSS2. |
pause | See the pause property definition in CSS2. |
pause_after | See the pause-after property definition in CSS2. |
pause_before | See the pause-before property definition in CSS2. |
pitch | See the pitch property definition in CSS2. |
pitch_range | See the pitch-range property definition in CSS2. |
play_during | See the play-during property definition in CSS2. |
position | See the position property definition in CSS2. |
quotes | See the quotes property definition in CSS2. |
richness | See the richness property definition in CSS2. |
right | See the right property definition in CSS2. |
size | See the size property definition in CSS2. |
speak | See the speak property definition in CSS2. |
speak_header | See the speak-header property definition in CSS2. |
speak_numeral | See the speak-numeral property definition in CSS2. |
speak_punctuation | See the speak-punctuation property definition in CSS2. |
speech_rate | See the speech-rate property definition in CSS2. |
stress | See the stress property definition in CSS2. |
table_layout | See the table-layout property definition in CSS2. |
text_align | See the text-align property definition in CSS2. |
text_decoration | See the text-decoration property definition in CSS2. |
text_indent | See the text-indent property definition in CSS2. |
text_shadow | See the text-shadow property definition in CSS2. |
text_transform | See the text-transform property definition in CSS2. |
top | See the top property definition in CSS2. |
unicode_bidi | See the unicode-bidi property definition in CSS2. |
vertical_align | See the vertical-align property definition in CSS2. |
visibility | See the visibility property definition in CSS2. |
voice_family | See the voice-family property definition in CSS2. |
volume | See the volume property definition in CSS2. |
white_space | See the white-space property definition in CSS2. |
widows | See the widows property definition in CSS2. |
width | See the width property definition in CSS2. |
word_spacing | See the word-spacing property definition in CSS2. |
z_index | See the z-index property definition in CSS2. |
Used to retrieve the properties that have been explicitly set in this declaration block. The order of the properties retrieved using this method does not have to be the order in which they were set. This method can be used to iterate over all properties in this declaration block.
Indexer
Name | Description |
---|---|
[index] | The property index |
Methods
Method | Description |
---|---|
set_property | Used to set a property value with default priority within this declaration block. Default priority is not “important” i.e. String.Empty |
set_property | Used to set a property value and priority within this declaration block. |
get_property_value | Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block. |
get_property_css_value | Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. This method returns null if the property is a shorthand property. Shorthand property values can only be accessed and modified as strings, using the getPropertyValue and setProperty methods. |
remove_property | Used to remove a CSS property if it has been explicitly set within this declaration block. |
get_property_priority | Used to retrieve the priority of a CSS property (e.g. the “important” qualifier) if the property has been explicitly set in this declaration block. |
See Also
- module
aspose.svg.dom.css
- class
ICSS2Properties