## ICSSStyleDeclaration.ParentRule property

The CSS rule that contains this declaration block or null if this CSSStyleDeclaration is not attached to a CSSRule.

```csharp
public ICSSRule ParentRule { get; }
```

### Property Value

The parent rule.

### See Also

* interface [ICSSRule](../../icssrule/)
* interface [ICSSStyleDeclaration](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
