Custom Column picker control

2 posts, 0 answers
  1. Marcel
    Marcel avatar
    40 posts
    Member since:
    Jan 2014

    Posted 11 Aug 2015 Link to this post

    Hello,

    I am working on a custom datagrid for my application and I want to have a custom column where the cell has a Textbox and a small button. When the user clicks the button a small screen must be shown where the user can enter some values. The total of the inputting values need to be displayed back in the gridview.
    I am looking at implementing this, but have a hard time doing. I like to have the same style for the button and the subscreen as the datepicker/Calculatorpicker.
    The content of the dropdown screen need to be replacable by other content using a usercontrol.

    Whats the best way to implement this, should I create a custom control for this? And then create a custom column according to the approach below?

    Or is there a better way to implement this?

    http://docs.telerik.com/devtools/wpf/controls/radgridview/columns/how-to/create-date-time-picker-column.html

    Thank in advance.

    Marcel

  2. Stefan X1
    Admin
    Stefan X1 avatar
    514 posts

    Posted 11 Aug 2015 Link to this post

    Hi Marcel,

    Basically, what you need to do is to define a UserControl with the needed dependency properties and set the binding in your custom column to them. You can follow the approach from the referred article, as it is demonstrating the approach.

    Can you please share some details what are the difficulties you are experiencing with it or you have already tried another one? I am also not completely able to understand what you mean by to have the same style for the button and the subscreen. Can you shed more light on that?

    Best Regards,
    Stefan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top