What specifically do you mean by a floating pane? Do you mean a ContentPane when its PaneLocation is FloatingOnly/FloatingDockable? If so then you can use a style trigger to retemplate the ContentPane. If you mean to alter the "chrome" of the PaneToolWindow (which is the element used to host 1 or more panes within a floating window, then you would retemplate that element either putting a Style in the Application.Resources or specifically setting its style in the ToolWindowLoaded event. Note, by default when displayed within a windows application (i.e. non-xbap) the os is providing the chrome just as it does for a standard wpf Window element so you would have to set the UseOSNonClientArea of the (Pane)ToolWindow to false to hide the os chrome and use the chrome you would provide in the template you create for it.
ok, i mean the element PaneToolWindow and i have any questions.
I am not able to define the style only in Application.Resources, I must implement ToolWindowLoaded event and here assign the style contained in Application.Resources.where mistake?
can you post an example of default template or can you tell me where found examples of default template?
I can't say what the mistake is without seeing some sample code of what you are doing. There is a DefaultStyles folder within the Infragistics NetAdvantage folder which includes the default styles/templates. The default style does not set the UseOsNonClientArea though because we let the default os chrome get displayed instead so you would have to set that property.
thank you very much.
I think that I have solved. I think that my problem is wich I don't use PaneToolWindow directly but I use SplitPane and therefore I am obligated to use the event for tie it to the style.is right?
I hope that I explained
thanksMatteo
Yes, you would be setting the Style or Template property of the Window property passed in as the event args for the ToolWindowLoaded event.