StylesRemove Method

Removes the first occurrence of a specific object from the ICollectionT.

Definition

Namespace: Avalonia.Styling
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public bool Remove(
	IStyle item
)

Parameters

item  IStyle
The object to remove from the ICollectionT.

Return Value

Boolean
if item was successfully removed from the ICollectionT; otherwise, . This method also returns if item is not found in the original ICollectionT.

Implements

ICollectionTRemove(T)

Exceptions

See Also