Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
30
XamTileManager how can I disable the double click event of the tile header
posted

when I click on the ig:XamTileManager tile and the tile rearrange it and creating vertical scroll bar one of the tile not visible to the user, user have to scroll down see the tile  

Parents
No Data
Reply
  • 1500
    Offline posted
    Hello,
    XamTileManager does not have an exposed method to change the default behaviour of mouse double click.
    What I can suggest in order to see this functionality implemented is logging a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at https://ko.infragistics.com/community/ideas.
    Alternatively, what you can do is  listen to the DoubleClick event and disable it in code:
    private void xamTileManager1_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e)
            {
                e.Handled = true;
            }
    If you would like to add this for every tile, you can set a style for this event:
    <Style TargetType="{x:Type ig:XamTile}">
                        <EventSetter Event="PreviewMouseDoubleClick" Handler="xamTileManager1_PreviewMouseDoubleClick"/>
                    </Style>
    Should you have more questions or concerns, please let me know.
    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics
Children
No Data