Welcome to the Xceed Community | Help
Community Search  
More Search Options

Browse by Tags

All Tags » Code-Behind   (RSS)
  • Group Header text change

    We need a clarification on the changing the group header text when displaying in the grid. The grid needs to display the first row all columns text as the header. Is this possible? Also need this to happen in the code behind.  Please provide some examples of how to do in code behind   Please find the screenshot as of how we need the ...
    Posted to Xceed DataGrid for WPF (Forum) by Kamesh on July 14, 2009
  • Capturing Click event of Button in a DataCell using MVVM

    Hello, I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button. Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel. How can this be achieved. I thought of RoutedEvents / ...
    Posted to Xceed DataGrid for WPF (Forum) by Shailesh on March 23, 2009
  • binding to column readonly using code behind

    Hi, I have successfully bound the column.visible property for my grid using code behind as per a suggestion in another thread like this: BindingOperations.SetBinding(this.myGrid.Columns[index], Column.VisibleProperty,  new Binding()    {        Source = DataContext,    ...
    Posted to Xceed DataGrid for WPF (Forum) by Trevor on January 7, 2009
  • Getting the values of two column in a one column..

    Hi, I am binding the DataGridControl from code behind using datagridcollectionview.....Suppose my datatable contains 5 columns . Now in the xceed grid i want to display the values of 1st and 3rd column in the same header i.e. in one column . How can i achieve this ?????
    Posted to Xceed DataGrid for WPF (Forum) by Saurabh on September 4, 2008
  • Accessing ComboBoxes created by TitleTemplate

    I have a combobox in the TitleTemplate of a grid.  When a button click event fires, I want to loop through all of the comboboxes created by the TitleTemplate (x:Name=''ThisComboBox'' in the XAML below).  Can you please tell me how access these comboboxes in the code-behind?  (The XAML is listed below): <xcdg:DataGridControl ...
    Posted to Xceed DataGrid for WPF (Forum) by Andrew on June 30, 2008
  • Setting the row selector when SelectedItem changed

    I am changing the SelectedItem in a grid in code behind to change the selected row, which works fine.  The problem is the RowSelector does not get moved to the selected row.   Does anyone have a way to change the RowSelector to match the SelectedItem in code-behind?
    Posted to Xceed DataGrid for WPF (Forum) by Andrew on June 19, 2008
  • Re: In-code CellEditor for column edit

    Got it:               List<String> itemList = new List<String>();            itemList.Add(''NW'');            itemList.Add(''N'');            ...
    Posted to Xceed DataGrid for WPF (Forum) by Mike Pateras on April 27, 2008
  • Accessing the insertion row in code

    Hi,  I want to be able to access an insertion row from C# code. Specifically, from inside a method that handles an event fired from a cell editor control.  In our application, we have a control that allows a user to query the database for a valid value. For example, if they know a product code they may type it in directly, otherwise, a ...
    Posted to Xceed DataGrid for WPF (Forum) by Jonathan on April 22, 2008
  • Re: Hide the HierarchicalGroupByControl in code

    There is 2 things that could be done.1) Create a style in code for the HierarchicalGroupByControl, in which you set the Visibility to Collapsed, then add the Style to the newly created DataGridControl's Resources collection ( set the key as typeof( HierarchicalGroupByControl ) ). This way, the implicit style will only affect the DataGridControl in ...
    Posted to Xceed DataGrid for WPF (Forum) by Marcus [Xceed] on April 17, 2008
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.