Would like to hide the header portion of the Dialog box so it displays like a Window with WindowStyle="None" set.
Can't find anyway to make this happen.
Thanks for the help...
Hello,
Thank you for your post. I have been looking into the question that you are having and I have created a sample application for you that shows how you can implement the appearance. I have used the Loaded event of the XamDialogWindow to get the header border and to set its visibility to collapsed. Also set the MinHeight of one of the RowDefinitions of the parent of the header border, since it is set in the default template of the XamDialogWindow.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
Seems to work, except that I would like to get rid of the border as well? Top, bottom and sides.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
It works a treat, thanks...
I am just checking if you require any further assistance on the matter.
Thank you for your reply. I have modified the sample to show how you can remove the borders on the XamDialogWindow in the loaded event. Also, if you wish to customize the XamDialogWindow’s appearance, you can re-tempalte it and change it appearance in xaml. You can locate the default style for the control here:
C:\Program Files (x86)\Infragistics\2014.1\WPF\DefaultStyles\DialogWindow\ generic.xaml