AvaloniaObjectIsSet Method

Checks whether a AvaloniaProperty is set on this object.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool IsSet(
	AvaloniaProperty property
)

Parameters

property  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