Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF Frame can not inherit value from parent

$
0
0

Hello

I previosly ask same  question on http://social.msdn.microsoft.com/Forums/en-US/7b86f060-1bf3-407a-8b7f-3c2f75c2b39c/wpf-frame-can-not-inherit-value-from-parent  link.

 If the parent control defines a value for the property "Foreground". The WPF elements inside the Frame will not inherit that properties value.

If I add New Page to frame . then I change theme of window then it is not applying to page of the frame.

Why it is not inheriting from parent?

I need to make it null & again set theme on load of frame.

it cause performance slow of application.

Can you please help me for it?

Ref questions:

http://www.devexpress.com/Support/Center/Question/Details/Q459031

https://connect.microsoft.com/VisualStudio/feedback/details/520355/wpf-frame-control-stops-property-inheritanceI am not getting any proper solution for it.

Download video n code from here

https://drive.google.com/folderview?id=0B_UjcIVA766LZXgyclRxeVFQSFk&usp=sharing

I have created video as well as small Application showing that issue.

Here When I press Add New button New frame added to DockLayoutManager.

So theme is not applied to the child that is page & controls inside the page.

Frame stop theme applying to page.

download

Thanking you in advance..
Regards

Vipul Langalia


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>