ISnackbarService.Show method
小于 1 分钟
ISnackbarService.Show method
显示
public void Show(string title, DependencyObject content, ControlAppearance appearance,
IconElement? icon, TimeSpan timeout, bool isCloseButtonEnabled)| parameter | description |
|---|---|
| title | 标题 |
| content | 显示内容 |
| appearance | SnackbarPresenter类型 |
| icon | 图标 |
| timeout | 超时自动隐藏时间 |
| isCloseButtonEnabled | 关闭按钮是否可用 |
Exceptions
| exception | condition |
|---|---|
| InvalidOperationException | 未设置SnackbarControl |
See Also
- interface ISnackbarService
- namespace neo_bpsys_wpf.Core.Abstractions.Services
