-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: Marc-Antoine Soucy <ma.soucy@nventive.com>
- Loading branch information
1 parent
9d59ba1
commit 29d1c9a
Showing
7 changed files
with
90 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
uid: Toolkit.Controls.Divider | ||
--- | ||
# Divider | ||
A divider is a thin line that groups content in lists and layouts. | ||
|
||
## Properties | ||
Property|Type|Description | ||
-|-|- | ||
SubHeader|String|Gets or sets the text of the text below the Divider. | ||
SubHeaderForeground|Brush|Gets or sets the foreground of the subheader. | ||
|
||
### C# | ||
```csharp | ||
public partial class Divider : Control | ||
``` | ||
|
||
### XAML | ||
```xml | ||
xmlns:utu="using:Uno.Toolkit.UI" | ||
... | ||
|
||
content | ||
<utu:Divider/> | ||
content | ||
|
||
``` | ||
|
||
## Lightweight Styling | ||
|
||
Key|Type|Value | ||
-|-|- | ||
DividerForeground|SolidColorBrush|OutlineVariantBrush | ||
DividerSubHeaderForeground|SolidColorBrush|OnSurfaceLowBrush | ||
DividerSubHeaderFontFamily|FontFamily|MaterialMediumFontFamily | ||
DividerSubHeaderFontWeight|FontWeight|BodySmallFontWeight | ||
DividerSubHeaderFontSize|FontSize|BodySmallFontSize | ||
DividerSubHeaderCharacterSpacing|CharacterSpacing|BodySmallCharacterSpacing | ||
DividerSubHeaderMargin|Thickness|0,4,0,0 | ||
DividerHeight|Double|1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters