mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
18 lines
347 B
Markdown
18 lines
347 B
Markdown
---
|
|
nav-title: "Border How-To"
|
|
title: "border"
|
|
description: "Examples for using Border"
|
|
---
|
|
# Border
|
|
Using borders requires the "ui/border" module.
|
|
<snippet id='border-require'/>
|
|
|
|
### Declaring a Border.
|
|
``` XML
|
|
<Page>
|
|
<Border borderRadius="10" borderWidth="2" borderColor="#FF0000">
|
|
<Button text="OK"/>
|
|
</Border>
|
|
</Page>
|
|
```
|