or
<telerik:RadRibbonWindow x:Class="FrmMain" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Height="700" Width="1000" WindowState="Maximized" WindowStartupLocation="CenterOwner" IconVisibility="Collapsed" Title="Title"> <Grid x:Name="RootGrid"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions> <telerik:RadRibbonView x:Name="ribbonView" ApplicationName="App" BackstageClippingElement="{Binding ElementName=RootGrid}"> <telerik:RadRibbonView.Backstage> <telerik:RadRibbonBackstage> <telerik:RadRibbonBackstageItem Header="Open" IsDefault="True"> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> </Grid.ColumnDefinitions> <Grid Margin="15 15 0 15"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions> <TextBlock Text="Title" FontSize="14" FontWeight="Bold" Margin="0 0 0 2" /> <Rectangle Grid.Row="1" Height="1" Fill="{StaticResource DottedLineBrush}" /> <ListBox Grid.Row="2" x:Name="lstOpenOne" Margin="0 4 0 0"> <ListBox.ItemTemplate> <DataTemplate> <Grid> <Border BorderThickness="1" CornerRadius="4"> <TextBlock Text="{Binding Path=Label}" /> </Border> </Grid> </DataTemplate> </ListBox.ItemTemplate> </ListBox> </Grid> <Rectangle Margin="10, 5" Grid.Column="1" Width="1" Fill="{StaticResource VerticalSplitterBrush}" /> <Grid Grid.Column="2"> <Grid.RowDefinitions> <RowDefinition /> <RowDefinition /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <StackPanel Grid.Row="0" Margin="15 15 0 15"> <TextBlock Text="Type" FontSize="14" FontWeight="Bold" Margin="0 0 0 2" /> <Rectangle Height="1" Fill="{StaticResource DottedLineBrush}" /> <ListView x:Name="lstOpen2" Margin="0 4 0 0" /> </StackPanel> <StackPanel Grid.Row="1" Margin="15 15 0 15"> <TextBlock Text="Zone d'acquisition" FontSize="14" FontWeight="Bold" Margin="0 0 0 2" /> <Rectangle Height="1" Fill="{StaticResource DottedLineBrush}" /> <ListView x:Name="lstOpen3" Margin="0 4 0 0"> <ListBox.ItemTemplate> <DataTemplate> <TextBlock Text="{Binding Path=Name}" /> </DataTemplate> </ListBox.ItemTemplate> </ListView> </StackPanel> <Button Grid.Row="2" Margin="0 4 0 0" Content="Open" x:Name="btnOpen" Click="btnOpen_Click" /> </Grid> </Grid> </telerik:RadRibbonBackstageItem> <telerik:RadRibbonBackstageItem Header="Item 2"> <TextBlock Text="Blablabla" /> </telerik:RadRibbonBackstageItem> <telerik:RadRibbonBackstageItem Header="Item 3"> <TextBlock Text="Blablabla too" /> </telerik:RadRibbonBackstageItem> </telerik:RadRibbonBackstage> </telerik:RadRibbonView.Backstage> <telerik:RadRibbonTab Header="Tab"> <!-- Nothing related here--> </telerik:RadRibbonTab> </telerik:RadRibbonView> <Grid Grid.Row="1"> <!-- Some controls --> </Grid> <Grid Grid.Row="2"> <!-- Some controls --> </Grid> </Grid></telerik:RadRibbonWindow><telerik:RadGridView.Resources> <Style TargetType="telerik:GridViewGroupRow"> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> </Style> <Style TargetType="telerik:GridViewHeaderRow"> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> </Style> <Style TargetType="telerik:GridViewGroupPanel"> <Setter Property="HorizontalContentAlignment" Value="Stretch"/> </Style></telerik:RadGridView.Resources><DataTemplate x:Key="RequiredCondition"> <telerik:RadComboBox ItemsSource="{Binding Path=DataContext.Conditions, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type views:PropertyEditorView}}, Mode=OneWay}" DisplayMemberPath="Name" SelectedItem="{Binding CurrentPropertySet[RequiredCondition]}" ToolTip="{Binding ElementName=cboRequiredCondition, Path=SelectionBoxItem.Description}" ClearSelectionButtonContent="Clear" ClearSelectionButtonVisibility="Visible" TextSearchMode="Contains" x:Name="cboRequiredCondition"/> </DataTemplate>
Hello,
I have a View whith a GridView bound to RadDataFilter bound to an QueryableEntityCollectionView<T> exposed in a View-Model.
I have few questions :
Does when the user add filter to the RadDataFilter the data is filtered directly in SQL ?
How to implement assync data loading ? I have the folowing exception when using the DeferRefresh method :
Cannot change or check the contents or Current position of the QueryableCollectionView whileRefresh is being deferred.
Thank you,
Benjamin
<telerik:RadBarcode39 x:Name="BarCodeDisplay" Grid.Row="4" Height="80" Width="100" HorizontalAlignment="Center" VerticalAlignment="Center" ShowChecksum="False" Text="Hello"/>
The code is getting displayed with the Text "Hello" below the bar. I need to just display the bar code without the Human readable text.