Skip to content

SymbolExtensions.Swap(SymbolRegular) method

Defined in

Type: SymbolExtensions Namespace: CrissCross.Avalonia.UI.Extensions Assembly: CrissCross.Avalonia.UI.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net471

Overloads

  • 1. public static SymbolFilled Swap(this SymbolRegular symbol)
  • 2. public static SymbolRegular Swap(this SymbolFilled symbol)

1. Overload

public static SymbolFilled Swap(this SymbolRegular symbol)

Summary: Swaps the SymbolRegular to its SymbolFilled equivalent.

Parameters

NameTypeDescription
symbol[SymbolRegular](#The symbol.

Returns: SymbolFilled -- The filled version of the symbol if available, otherwise the same symbol value as filled.

2. Overload

public static SymbolRegular Swap(this SymbolFilled symbol)

Summary: Swaps the SymbolFilled to its SymbolRegular equivalent.

Parameters

NameTypeDescription
symbol[SymbolFilled](#The symbol.

Returns: SymbolRegular -- The regular version of the symbol if available, otherwise the same symbol value as regular.