更新客户端渲染,更新了壳
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# FontIcon
|
||||
|
||||
`FontIcon` is a control responsible for rendering icons based on the provided font.
|
||||
|
||||
### Implementation
|
||||
|
||||
```csharp
|
||||
class Wpf.Ui.Controls.FontIcon
|
||||
```
|
||||
|
||||
## Exposes
|
||||
|
||||
```csharp
|
||||
// Gets or sets displayed glyph
|
||||
FontIcon.Glyph = '\uE00B';
|
||||
```
|
||||
|
||||
```csharp
|
||||
// Gets or sets used font family
|
||||
FontIcon.FontFamily = "Segoe Fluent Icons";
|
||||
```
|
||||
|
||||
```csharp
|
||||
// Icon foreground
|
||||
FontIcon.Foreground = Brushes.White;
|
||||
```
|
||||
|
||||
```csharp
|
||||
// Icon size
|
||||
FontIcon.FontSize = 16;
|
||||
```
|
||||
|
||||
### How to use
|
||||
|
||||
```xml
|
||||
<ui:FontIcon
|
||||
Glyph=""
|
||||
FontFamily="{DynamicResource SegoeFluentIcons}"
|
||||
FontSize="16"
|
||||
Foreground="White"/>
|
||||
```
|
||||
Reference in New Issue
Block a user