Hi. i have added xamdatagrid and i want line for each record for that xamdatagrid.For that i have added style DataRecordcellarea.
<Setter Property="BorderBrush" Value="#EEEEEEEE"/>
<Setter Property="BorderThickness" Value="0,0,0,2"/>
</Style>
i am facing problem in background brush Selected and Mouseover.It is taking default style if i select igtheme or any theme.how can i overcome this problem.How can i write basedon property for that style and can i write in app.xaml.
Hello,
All the Styles for the NetAdvantage for WPF product are installed here: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles by default.
Hope this helps you.
Hi.... thanks. I dont no what wrong.It is not working in my project.I have done exactly same wat u did.But no use.can i get xaml files of all the styles so that i can add manually in Resource Dictionary?
Plz send URLor is their any way to do?
I have modified your sample, so now it works as you want. Basically I changed the Binding of MyProperty, so I can make the connection between it and the ComboBox' SelectedItem. I used the UserControl's Tag Property as helping Property.
Thanks.It will work if xamdatagrid is present in mainwindow.If it present in one usercontrol and thati placed in mainwindow style will not affect.Check it i am sending a .zip file.Plz verify it.I am done some changes in that file wat u have sent.
I have modified the sample I sent you firstly and now it works as you want. Basically I inherited XamDataGrid and added a Dependency Property called MyProperty, which I bound to the ComboBox’s SelectedItem and used the PropertyChnaged event to set the Style of the XamDataGrid that rises the event. In your solution you need to change XamDataGrids with the custom one, which in my project is called MyXDG and is defined in a file called MyXDG.cs