Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7989547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:46:58+00:00 2026-06-04T12:46:58+00:00

I am using an Infragistics datapresenter that apparently automatically includes a context menu when

  • 0

I am using an Infragistics datapresenter that apparently automatically includes a context menu when the user right-clicks text in any unbound field. I simply want to disable this context menu for all the unbound fields. How? Note: I do have my own context menu setup for the datapresenter that should still function when clicking a record, but it does not appear when clicking individual fields of text as the “Auto context menu” does. I can’t just null it since i didn’t create it, but using a keyless style of {x:Null} doesn’t work either, it gives an error.

I added a link to sample project here: (Note in this sample i tried to sub in a context menu with no menu items, which then just has a “sliver” of a context menu- I couldn’t figure out how to post a zip file to stackoverflow

example with Auto context menu subbed by blank context menu-comment out xaml context menu to see my problem)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T12:46:59+00:00Added an answer on June 4, 2026 at 12:46 pm

    I saw your post on Infragistics’ site and that they didn’t give you an answer. It appears it doesn’t specifically support what you’re looking to do. This may be a sufficient workaround:

    <Grid.Resources>
      <ContextMenu x:Key="cm">
        <MenuItem Header="test menu 1"/>
        <MenuItem Header="test menu 2"/>
      </ContextMenu>
      <Style TargetType="{x:Type igDP:DataRecordCellArea}">
        <Setter Property="ContextMenu" Value="{StaticResource cm}"/>
      </Style>
      <Style TargetType="{x:Type igEditors:XamTextEditor}">
        <Setter Property="ContextMenu" Value="{StaticResource cm}"/>
      </Style>
    </Grid.Resources>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Infragistics version 8.1 in my project. I heard that now the
I have UserControl that holds Infragistics Graph control. On the TreeView sub node's right
I am using Infragistics UltraWebGrid. I've handled its InitializeDataSource event with a function that
Using the Infragistics UltraGrid (e.g. myGrid ), I want to: Hook an event that
I have a context menu situated inside a User Control Resource. <UserControl.Resources> <ContextMenu x:Key=Menu1>
I am using an Infragistics UltraWinGrid v9.1. I want to allow the user to
We're using Infragistics grid (most probably, we'll have 8.2 version at the end) and
I am using the Infragistics UltraWebGrid to capture some data. I don't have this
I am using the Infragistics XamDateTimeEditor control and I want to add a dependency
I have been using the Infragistics UltraWebGrids for a few years now in multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.