Files
YMhut-box-C-/参考/wpfui-main/docs/documentation/symbolicon.md
T
2026-07-06 23:05:40 +08:00

42 lines
587 B
Markdown

# SymbolIcon
`SymbolIcon` is a control responsible for rendering icons.
### Implementation
```csharp
class Wpf.Ui.Controls.SymbolIcon
```
## Exposes
```csharp
// Gets or sets displayed symbol
SymbolIcon.Symbol = SymbolRegular.Empty;
```
```csharp
// Defines whether or not we should use the SymbolFilled
SymbolIcon.Filled = false;
```
```csharp
// Icon foreground
SymbolIcon.Foreground = Brushes.White;
```
```csharp
// Icon size
SymbolIcon.FontSize = 16;
```
### How to use
```xml
<ui:SymbolIcon
Symbol="Fluent24"
Filled="False"
FontSize="16"
Foreground="White"/>
```