I was following the example for "Fixed Records" inside your samples and applying it to my application. I found that the Pinning Button and the RecordSelector icons are undesirably tied together.
Using the following code yields the UI that displays both the record selector and the pin icons:
<igDP:FieldLayoutSettings AllowRecordFixing="Top" RecordSelectorLocation="Default" FixedRecordUIType="Button"The following code hides the record selector and the pinning icon:<igDP:FieldLayoutSettings AllowRecordFixing="Top" RecordSelectorLocation="None" FixedRecordUIType="Button"How do I hide the record selector icon and show the pin icon?
Hello Daniel,
After some research, Separate Properties for the Visibility if the RecordSelector’s component elements has been determined to be a new feature request. I have sent your feature request directly to our product management team. Our product team chooses new feature requests for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this feature request is FR13825.
If you would like to follow up on your feature request at a later point, you may contact Developer Support management via email. Please include the reference number of your feature request in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Thank you for your request.
Thanks much for the solution. This did the trick. Looking through the 500 lines of code style I didn't see where you made changes to make this work.
I was hoping for a simple property that would allow control of the visibility for each of the different components (pinning, recordSelector, etc.). Cut and paste of the entire 500 lines of code with small modifications seems like a maintenance headache long term. This headache will become even more apparent when trying to merge styles from future infragistics releases/patches.
Kind Regards,
Daniel
Hello,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Thank you for your post. I have been looking it and I created a sample project for you with the functionality you want. Basically I copied the default Style for the RecordSelector and set the Visibility of the Grid that contains the Arrows to Collapsed. In the future when you want to override the default look of a Control I suggest you do so. You can find it in the DefaultStyles folder, which is installed by default here: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.1\WPF\DefaultStyles. Please let me know if this helps you or you need further clarifications on this matter.
Looking forward for your reply.