Hello,
I have a small space in the GUI and the space after TableNode take some place.
Like here : http://gyazo.com/933260d32a56c8891a77bd6f0d6f241d
Is there a way to remove the red/blue space ?
The space seems to be a part of the table.
Regards
Hello teamtim,
Just checking in, did you have any other questions or concerns on this matter?
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support
After a bit of research, I have found that you can reduce the amount of space at the bottom of the table in a XamRichTextEditor by applying new ParagraphSettings with ParagraphSpacingSettings to the XamRichTextEditor.Document by utilizing the ApplyParagraphSettings method. If you set the AfterParagraph property on the ParagraphSpacingSettings to a new Extent of 0, it will greatly reduce this extra space you are seeing after the table. It does seem like that extra selection after the table still (somewhat) exists, though, which I am still investigating.
I have attached a modified version of the sample I had originally sent to demonstrate.
Please let me know if you have any other questions or concerns on this matter.
Now, the selection at the bottom of the array isn't here.
But the space between the last line and the end of the document still here.
I prefer to have this configuration, like at the end of a ParagrapheNode : http://gyazo.com/9d85b049248a365b4743121ef4b4883f
There is space but not two lines that take some space.
The selection of the array isn't working with the load event, I need it back to copy/paste it.
Thanks for your help
I am a little unsure of what you mean by "The selected area is blue, but for the screenshot it's gray." Are you saying that you are only seeing this space when you click and drag to make a selection at the bottom of the table? If this is the case, then I can see this space you are seeing as well when making a selection at the very bottom of the table in my application as well. Also, with regards to the environmental specifications, I tested my project on a virtual machine with those specs, but was still unable to reproduce this issue you are seeing without having to select the space at the bottom.
I found a way to remove this "tail" at the end of the table, and hopefully it will help you. It involves handling the Loaded event of the XamRichTextEditor and getting the RichDocumentViewTextArea from it by utilizing the Infragistics Utilities class. From that RichDocumentViewTextArea, you can use its Children collection to get the child at index 4, which will be an AdornmentLayer. This AdornmentLayer has a single, Canvas child, which has a path at index 1 in its children collection. If you remove this, you shouldn't see this tail at the end of your table anymore.
I hope this works for you. I have attached a modified version of the original sample I sent you to demonstrate.
The selected area is blue, but for the screenshot it's gray.
I only set the readOnly property.
I use Windows 7 with visual 2013 and the target is net v4.0.