Table of Contents

Method IsAttributeSpecified

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

IsAttributeSpecified(string, out bool)

Returns a boolean indicating if the attribute is explicitly set on the element.

bool IsAttributeSpecified(string name, out bool inherited)

Parameters

name string

The name of the attribute.

inherited bool

Outputs whether the attribute is set to the inherit value.

Returns

bool

Returns true if the attribute is explicitly set on the element or if it is present within an inline style.
Returns false if the attribute is not a valid attribute on this element.