A simple ContentControl to display on a page where there is no information
1 | public class Empty : ContentControl |
Attributes
| Name | Use |
|---|---|
| Description | Get or set Description Text |
| Logo | Get or set Logo |
| ShowEmpty | Show or Hide Empty View |
These controls will display an empty view if you set hc:Empty.ShowEmpty="true"
- ListBox
- DataGrid
- TreeView
- ComboBox
- CheckComboBox
- ListView
Case
1 | <ListBox hc:Empty.ShowEmpty="true"/> |
or
1 | <hc:ToggleBlock IsChecked="{Binding ElementName=lst, Path=HasItems, Mode=OneWay}" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch"> |
