Welcome to the Xceed Community Sign in | Join | Help
Community Search  

Re: DataBinding in DatePicker outside grid

  •  05-14-2008, 5:44 PM

    Re: DataBinding in DatePicker outside grid

    <DockPanel>
     <xcdg:DatePicker DateTimeMaskMode="ShortDate"
                      SelectedDate="{Binding ElementName=OrdersGrid, Path=CurrentItem[BirthDate], Mode=TwoWay}"
                      DockPanel.Dock="Top"/>


     <xcdg:DataGridControl x:Name="OrdersGrid"
                           ItemsSource="{Binding Source={StaticResource cvs_orders}}"/>
    </DockPanel>

    Where the grid is bound to a DataGridCollectionViewSource who is bound to the Employees table of the Northwind database. 


    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
    Filed under:
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.