Skip to content

Commit 9d4c6c1

Browse files
committed
chore: usage of PendingBox
1 parent 0e9033d commit 9d4c6c1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,19 @@ Similar to WPF UI.
132132
MessageBoxResult result = await MessageBox.QuestionAsync("This is a question and do you want to click OK?");
133133
```
134134

135+
- **PendingBox**
136+
137+
> Keep displaying 'Loading' until released.
138+
139+
```c#
140+
// Default style.
141+
using IPendingHandler pending = PendingBox.Show();
142+
143+
// Show with title and cancel button.
144+
using IPendingHandler pending = PendingBox.Show("Doing something", "I'm a title", isShowCancel: true);
145+
```
146+
147+
135148
- **ToggleButtonGroup** / **RadioButtonGroup** / **MenuItemGroup**
136149

137150
> Turn the ToggleButton and RadioButton under the same Group into a radio button.

0 commit comments

Comments
 (0)