Skip to content

Commit

Permalink
Update textbox.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kikipoulet authored Sep 2, 2024
1 parent eb6177d commit c5ecf5b
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions docs/docs/documentation/controls/inputs/textbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,42 @@

A control used for collecting user provided information.

## Show
### Simple

<img src="/controls/inputs/textbox.gif"/>
<img src="https://sleekshot.app/api/download/8nnHYLrgchCe"/>

## Example

```xml
<TextBox theme:TextBoxExtensions.Prefix="Username" Watermark="John" />
<TextBox Text="Hello" />
```

### Clear Button

<img src="https://sleekshot.app/api/download/tNkEf1yb0lml"/>


```xml
<TextBox theme:TextBoxExtensions.AddDeleteButton="True" Text="Hello" />
```

### Prefix

<img src="https://sleekshot.app/api/download/354ntrKtfvXo"/>


```xml
<TextBox theme:TextBoxExtensions.Prefix="https://" Text="www.google.com" />
```

### Watermark

<img src="https://sleekshot.app/api/download/Y3odALgSfPCT"/>


```xml
<TextBox Watermark="Watermark" Text="" />
```

## See Also

[Demo: SukiUI.Demo/Features/Dashboard/DashboardView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/Dashboard/DashboardView.axaml)
[Demo: SukiUI.Demo/Features/Dashboard/DashboardView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/Dashboard/DashboardView.axaml)

0 comments on commit c5ecf5b

Please sign in to comment.