Hi Jone,
Query1:
We have analyzed your query. You can get the
SelectionChanged event from the Model. You can also get the reason for row
changed by using Reason API.
You can refer the below codesnippet.
Codesnippet[C#]:
this.syncgrid.Model.SelectionChanged += new GridSelectionChangedEventHandler(Model_SelectionChanged);
void Model_SelectionChanged(object sender, GridSelectionChangedEventArgs
e)
{
var res = e.Reason;
}
|
Query2:
We don’t have support in for visualstyle theme in SFGrid.We
may considered this as feature in our upcoming release. You can merge custom
theme by using ResourceDictionary. You can refer the below codesnippet.
Codesnippet[XAML]:
<syncfusion:SfDataGrid.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Syncfusion.SfGrid.WPF;component/Styles/Styles.xaml" /> </ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</syncfusion:SfDataGrid.Resources>
|
If you want to know more about custom theme,you can also
refer the below link,
DocumentationLink: http://help.syncfusion.com/UG/winrt/Documents/stylesandtemplates.htm
Please let us know if you have any queries.
Regards,
Saravanan.M