Hello,
I am working on integrating the RadRichTextBox into our product, the integration went very well up until I hit the FindReplaceDialog. I've tried applying default styles to RadWindow, FIndReplaceDialog, and everything else I can think of but I am unable to change the pop-up header color to match our product's theme. Our product uses Unity and Prism and currently does not use MEF so I am trying to avoid having to create a custom FindReplaceDialog and use the dialog via MEF. Is there any way that I can get a style to apply to the pop-up window? Any advice would be greatly appreciated! Thanks,
Below are some small snippets of the styles I've been attempting to use:
I am working on integrating the RadRichTextBox into our product, the integration went very well up until I hit the FindReplaceDialog. I've tried applying default styles to RadWindow, FIndReplaceDialog, and everything else I can think of but I am unable to change the pop-up header color to match our product's theme. Our product uses Unity and Prism and currently does not use MEF so I am trying to avoid having to create a custom FindReplaceDialog and use the dialog via MEF. Is there any way that I can get a style to apply to the pop-up window? Any advice would be greatly appreciated! Thanks,
Below are some small snippets of the styles I've been attempting to use:
1.
<
Style
x:Key
=
"RadWindowStyleABC"
TargetType
=
"{x:Type telerik:RadWindow}"
>
2.
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource WindowForeground}"
/>
3.
<
Setter
Property
=
"Background"
Value
=
"{StaticResource WindowBackground}"
/>
1.
<
Style
TargetType
=
"{x:Type dialogs:FindReplaceDialog}"
BasedOn
=
"{StaticResource RadWindowStyleABC}"
>
2.
<
Setter
Property
=
"Header"
Value
=
"find/replace"
/>
3.
</
Style
>
4.
5.
<
Style
TargetType
=
"{x:Type telerik:RadWindow}"
BasedOn
=
"{StaticResource RadWindowStyleABC}"
/>