Browse By Tags

  • xamDataGid CellValuePresenter and IsSelected behavoir

    Hi,

    to bind different fields, I i created a new CellValuePresenter eg like here Sample. This works, but I loose the behavior to select mulitible cells. So I ussed the full template from DataPresenterGeneric_Express.xaml. I modified the ContentPresenter:

    <ContentPresenter…
  • Problem with conditional formatting

    I used this documentation, but it didn't work for me: Conditional Formatting - Infragistics WPF  Help

    What am i missing?

    XAML-Code for Compare-Window:

    <Window.Resources>
            <Style x:Key="CVP_Modified" TargetType="{x:Type igWPF:CellValuePresenter…

  • Xamdatagrid cell coloring depend on the max and min values

    I would like to change the background color of each cell depending on the value. 

    For now,  I have managed to do with the static limit of {0 and 1 }.  if the value is close to zero it will be green and red if it is close to 1. 

    But I want to color such as…

  • In XamDataGrid change the background of a cell when using numeric editor and it has an invalid value

    The XamDataGrid I'm using has a column that is a numeric double field. When the user enters an invalid value the background of the numeric editor becomes a red color. Also if you move the cursor over the red area of the cell there is a tooltip that pops…

  • Hyperlink stopped working in XamDataGrid

    Hi Team,

    After updating from InfragisticsWPF4.v13.1 to v19.1, the following Hyperlink_RequestNavigate method stopped being called when the hyperlink is clicked, do you know what can be the cause ?

    <Style x:Key="PricingDetailsCellStyle" TargetType="{x:Type…

  • How can I get the CellValuePresenter for each cell of a XamDataGrid which is inside an Unbound cell of another XamDataGrid and is using ExpandedCellPresenter?

    Title seemed confusing to write, but I will try to explain better here.

    I have a XamDataGrid with an Unbound cell.  This Unbound cell contains another XamDataGrid.  The inner XamDataGrid is implemented using a ControlTemplate with TargetType = ExpandedCellPresenter…

  • Editor showing behind CellValuePresenter when navigating using keys

    5822.TestXamDataGrid.zip

    Hi,

    This is a bit of a long one, so please bare with me.

    Due to having a complex and dynamic data structure to display and edit (tree of data with dynamic number of rows and columns), I had to create the several Field Layouts…

  • Field styling with CellValuePresenter what item is used for editing ?

    Hi,

    I have the following scenario:

    XamDataGrid with some fields, and some of these fields has the following Style:

    <igDp:Field Name="Description" Label="Description" IsScrollTipField="True"  Width="3*">
            <igDp…

  • xamDataCards Cell Backgrounds based on Associated ViewModel Property

    Hi,

    I have a xamDataCards display that organizes data coming from a number of hardware devices through a variety of different backend channels. I would like to show values that are considered disconnected or otherwise "unreliable data" as having an orange…

  • Hiding record in XamDataGrid

    I would like to hide some records in a XamDataGrid. I use a setter to do so as shown below.

    <igWPF:XamDataGrid.Resources>


    <Style TargetType="{x:Type igWPF:CellValuePresenter}">


    <Setter Property="ToolTip" Value="{Binding RelativeSource…

  • CellValuePresenter Background binding

    Hi All,

    Can someone please help me. I need to change my Cell Background color, The user can select a color with a color picker that gets stored in configuration.

    public SolidColorBrush SolidColorBrushValue
    {
    get { return MatrixView.SolidColorBrushVa…

  • Xamdatagrid Records and fields Backgroundcolor

    Hi All,

    I need some help. I am coming from the Windows Forms Ultra Grid and want to convert my my grid to the XAMDatagrid. The grid needs to update in real time.(Not the data in the grid but the X-green line and Y-Green Line). I've attached a project where…

  • XamDataGrid 101, Part 1 - Blend-Savvy Overview

    The premier control of the WPF NetAdvantage suite is definitely the XamDataGrid. The Infragistics data grid trumps all similar type of controls everywhere. Not only do I get paid to say that, but as a user of our controls I have found the XamDataGrid…
  • XamDataGrid 101, Part 2 - Custom Colors

    I’m back!

    Sorry, but I’ve been very busy creating killer custom controls for customers. Did you know Infragistics does consulting? We help clients who need to create and solve custom solutions, whether that be customizing Infragistics controls…
  • HOWTO: Using WPF Converters to style the XamDataGrid

    There have been a lot of forums posts and questions about how to use Converters and how to bind them to the a cell, multiple cells, or something else.

    I have tried to summarize all of these requirements in one place and would be happy to update the sample…

  • Access theme style from code behind

    I am dynamically generating field layouts from c# and I currently have a trigger setup to color the background of a CellValuePresenter when certain conditions are meet, the issue is that I am using Office2k7Silver theme, but when I set a custom style on…

  • TextBox for CellValuePresenter

    I need to show a textbox in the DataGrid, so users know which columns are editable. Currently, I am customizing the CellValuePresenter. However, if I don't customize the EditorStyle to be a textbox, then I don't receive the EditStarting, EditStarted,…

  • Re: How to redirect cell click event to another cell in the same row?

    Thanks Krasimir,

    The solution works fine, although there is one detail I can't figure out. When I template the "Age" field with numeric editor, the command does not activate cursor.

    This is what I added:

    <igDP:Field Name="Age" Label=…

  • CellValuePresenter on scroll the scrollbar

    When I user CellValuePresenter to set one of records's style by vb code(for example:font color=red),It's works ok,but when I scroll the scrollbar (records is large) ,the row i has setted CellValuePresenter will works correctly.

    would you give me…

  • Row Hovering Overrides Cell Foreground

    Hi

    I've set the foreground of a cell (type: CellValuePresenter) but when hovering on the cell row the foreground gets overriden. How can i prevent this?

  • How do i bind to IsActive on CellValuePresenter

    Hi , 

    im working with MVVM pattern and i have object with fields and on each field i have a property IsSelected.

    so if i want in code to highlight a spesific cell i go to the data and mark the field IsSelected=true

    but i cant get it to work

    <

  • Change foreground of a single cell when the cell's value is modified

    Guys,

    I have pretty much scoured the Internet looking for an answer to this question, with various replies that have not panned out. Here it is:  I have a XamDataGrid bound to a DataTable.DefaultView. Is it possible to style a property of a cell (foreground…

  • Re: How to invoke an editor based on underlying object type?

    Thanks Krasimir, it is exactly what I was looking for. Sorry, could not get back to you earlier.

  • Re: xamDataGrid binding with Radiobutton

    Srini,

    Actually it depends on the scenario. If you are using an Enum for this cell, you would have to use a IValueConverter to convert properly between the IsChecked property of the RadioButton and the Enum value.

    If you are using a boolean value, you…

  • Binding CellValuePresenter.IsSelected with Styles codebehind

    I'm currently trying to rewrite one of my applications with the xamDataGrid.
    Before that i used the WPFToolkit datagrid.

    I need to bind with Styles in the code behind.

    This does work:

                        CellStyle.Setters.Add(new Setter()
                        {
                            Property = CellValuePresenter…