Skip to main content

IsSet Method

Checks whether a AvaloniaProperty is set on this object.

Definition​

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public bool IsSet(
AvaloniaProperty property
)

Parameters​

  AvaloniaProperty
The property.

Return Value​

Boolean
True if the property is set, otherwise false.

Remarks​

Returns true if property is a styled property which has a value assigned to it or a binding targeting it; otherwise false.

See Also​

Reference​

AvaloniaObject Class
Avalonia Namespace