Hi.
I would like to display form company name and module name on the form of each application. Something like the one shown in the attachment. Is it possible to have this kind of alignment in the form.
P.S The preview does not show the whole image. Please open the image to get the gist
Regards
Ishan Gandhi
Hello Sumit,
Thank you for contacting Infragistics Developers Support.
In order to add custom caption to your form you may use Infragistics UltraFormManager. This component has Caption property in its FormStyleSettings class. Please note UltraFormManager’s Caption is actually UltraFormatedTextEditor and supports Style Attributes. You can use Text-align sub-attribute of Style attribute to align the caption text as left, right, center or justify. More about Style Attributes you may find by following the next link http://help.infragistics.com/Doc/WinForms/current/CLR4.0/?page=WinFormattedTextEditor_Style_Attribute.html
Please note you cannot have one line of text aligned both left and right. In order to achieve this you can use Infragistics DrawFilter. This is what you can do:
Set the Caption property to your UltraFormManager to the Company Name and align it to the left;
In your DrawFilter add the Module Name, if you have enough space.
More about DrawFilter you can find by following the next link http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Win_Draw_Filter.html
Please check attached small sample solution implementing this approach and let me know if this is what you are looking for or of I am missing something.