Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You need to put all the content inside the user control as shown below:</p> <pre><code>&lt;toolkit:BusyIndicator Width="150" Height="50" IsBusy="{Binding IsBusy}" BusyContent="Searching ..."&gt; &lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height ="0" /&gt; &lt;RowDefinition Height ="30" /&gt; &lt;RowDefinition Height ="60" /&gt; &lt;RowDefinition Height ="Auto" /&gt; &lt;RowDefinition Height ="40" /&gt; &lt;/Grid.RowDefinitions&gt; &lt;TextBlock Grid.Row="1" Grid.Column="0" Text="Header" Width="353" Margin="0 0 0 0" Height="30" /&gt; &lt;StackPanel Grid.Row="2" VerticalAlignment="Center" Orientation="Horizontal" &gt; &lt;Button Grid.Row="2" Grid.Column="0" Content="GetData" Height="35" Width="130" HorizontalAlignment="Left" Margin="0,0,0,0" Command="{Binding GetData}"&gt;&lt;/Button&gt; &lt;/StackPanel&gt; &lt;ListBox x:Name="MyListBox" Grid.Row="3"&gt; &lt;ListBox.ItemTemplate&gt; &lt;DataTemplate&gt; &lt;Grid&gt; &lt;Grid.RowDefinitions&gt; &lt;RowDefinition Height="Auto"&gt;&lt;/RowDefinition&gt; &lt;RowDefinition Height="Auto"&gt;&lt;/RowDefinition&gt; &lt;/Grid.RowDefinitions&gt; &lt;Grid.ColumnDefinitions&gt; &lt;ColumnDefinition Width="400"&gt;&lt;/ColumnDefinition&gt; &lt;ColumnDefinition Width="70"&gt;&lt;/ColumnDefinition&gt; &lt;ColumnDefinition Width="10"&gt;&lt;/ColumnDefinition&gt; &lt;ColumnDefinition Width="70"&gt;&lt;/ColumnDefinition&gt; &lt;/Grid.ColumnDefinitions&gt; &lt;TextBlock Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" Text="{Binding Name}"&gt;&lt;/TextBlock&gt; &lt;Button Grid.Row="0" Grid.RowSpan="2" Grid.Column="3" Content="Delete" VerticalAlignment="Center" Command="{Binding Delete}"&gt;&lt;/Button&gt; &lt;/Grid&gt; &lt;/DataTemplate&gt; &lt;/ListBox.ItemTemplate&gt; &lt;/ListBox&gt; &lt;TextBlock Grid.Row="4" Margin="5,10,0,0" Text="{BindingMessage}"&gt;&lt;/TextBlock&gt; &lt;/Grid&gt; &lt;/toolkit:BusyIndicator&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload