or
<telerik:RadDocking HasDocumentHost="False" Grid.Row="2" PreviewUnpin="RadDocking_PreviewUnpin"> <telerik:RadSplitContainer InitialPosition="DockedBottom"> <telerik:RadPaneGroup IsContentPreserved="True"> <telerik:RadPane Header="Grid" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}"> <Grid> <telerik:RadGridView AutoGenerateColumns="False" SelectionMode="Multiple" RowIndicatorVisibility="Collapsed" ItemsSource="{Binding}" IsReadOnly="True" SelectionUnit="Cell"> <telerik:RadGridView.Columns> <telerik:GridViewSelectColumn Width="20"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=InventoryDate, Mode=OneWay}" Header="Inventory Date" DataFormatString="{}{0:MM/dd/yyyy}"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=BridgeNumber, Mode=OneWay}" Header="Bridge #"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=CreatedBy, Mode=OneWay}" Header="Created By"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding Path=CreatedDate, Mode=OneWay}" Header="Created Date" DataFormatString="{}{0:MM/dd/yyyy}"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </Grid> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking>Thanks for any suggestions.
Steve
| Item 1 | Item 2 | Item 3 | Item 4 | Item 5 | ||
| Item 6 | Item 7 | Item 8 | Item 9 | Item 10 | ||
| Item 11 | Item 12 | Item 13 | Item 14 | Item 15 | ||
| Item 9 | Item 2 | Item 3 | Item 4 | Item 5 | |
| Item 6 | Item 7 | Item 8 | Item 1 | Item 10 | |
| Item 11 | Item 12 | Item 13 | Item 14 | Item 15 |
and a GridViewDataColumn which show when the checkbox was updated for the last time.<telerik:RadGridView telerik:StyleManager.Theme="Office_Blue" Width="auto" Height="100" ItemsSource="{Binding MyCollection}" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding IsDemande, Mode=TwoWay}" /> <telerik:GridViewDataColumn Width="auto" DataMemberBinding="{Binding DateLastUpdate}" /> </telerik:RadGridView.Columns></telerik:RadGridView><ComboBox ItemsSource="{Binding MyCollection}"> <ComboBox.ItemTemplate> <DataTemplate> <ComboBoxItem Content="{Binding DateLastUpdate}" /> </DataTemplate> </ComboBox.ItemTemplate></ComboBox>Contextualgroup.IsActive = true;<telerik:RadRibbonWindow xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="TestRibbon.MainWindow" Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded" Background="Transparent"></telerik:RadRibbonWindow>public partial class MainWindow : RadRibbonWindow{ public MainWindow() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { try { IntPtr mainWindowPtr = new WindowInteropHelper(this).Handle; HwndSource mainWindowSrc = HwndSource.FromHwnd(mainWindowPtr); mainWindowSrc.CompositionTarget.BackgroundColor = Color.FromArgb(0, 0, 0, 0); System.Drawing.Graphics desktop = System.Drawing.Graphics.FromHwnd(mainWindowPtr); float DesktopDpiX = desktop.DpiX; float DesktopDpiY = desktop.DpiY; MARGINS margins = new MARGINS(); margins.cxLeftWidth = Convert.ToInt32(0 * (DesktopDpiX / 96)); margins.cxRightWidth = Convert.ToInt32(this.Width * (DesktopDpiX / 96)); margins.cyTopHeight = Convert.ToInt32(0 * (DesktopDpiX / 96)); margins.cyBottomHeight = Convert.ToInt32(this.Height * (DesktopDpiX / 96)); int hr = DwmExtendFrameIntoClientArea(mainWindowSrc.Handle, ref margins); if (hr < 0) { MessageBox.Show("Can't apply glass..."); } } catch (DllNotFoundException) { Application.Current.MainWindow.Background = Brushes.White; } } [StructLayout(LayoutKind.Sequential)] public struct MARGINS { public int cxLeftWidth; public int cxRightWidth; public int cyTopHeight; public int cyBottomHeight; }; [DllImport("DwmApi.dll")] public static extern int DwmExtendFrameIntoClientArea( IntPtr hwnd, ref MARGINS pMarInset);}