Home Forums WPF controls Xceed DataGrid for WPF how do i handle Eventss in Xceed Data grid Control

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25174 |

    hi,

    How do i handle Mouse events in Xceed Data grid control.
    when i Click the DataRow ,i want to handle a Single Click event in Xaml.cs file

    Imported from legacy forums. Posted by Malleswararao (had 1828 views)

    Xceed Support
    Member
    Post count: 5658

    <code>
    <Grid xmlns:xcdg=”http://schemas.xceed.com/wpf/xaml/datagrid”&gt;
    <Grid.Resources>
    <xcdg:DataGridCollectionViewSource x:Key=”cvs_orders”
    Source=”{Binding Source={x:Static Application.Current},
    Path=Orders}”/>

    <Style TargetType=”{x:Type xcdg:DataRow}”>
    <EventSetter Event=”MouseEnter”
    Handler=”DataRowMouseEnter”/>

    <EventSetter Event=”MouseLeave”
    Handler=”DataRowMouseLeave”/>
    </Style>
    </Grid.Resources>

    <xcdg:DataGridControl x:Name=”OrdersGrid”
    ItemsSource=”{Binding Source={StaticResource cvs_orders}}”/>
    </Grid></code>

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2748 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.