15,893,644 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by alleyes (Top 8 by date)
alleyes
11-Nov-11 14:56pm
View
Thanks for responding. I'm not sure if what you're suggesting solves the problem. The issue is not exactly visual inheritance. What I've tried is this: I defined a base class (no partials). I then in XAML create the control (a window in this case) derived from the base class. I target the window as a Class Library DLL so I can launch it from a C++ / CLI executable. The class is the C++ class derives from the base class also. At runtime I get the exception: The component 'MyInheritedForm' does not have a resource identified by the URI '/WPFNameSpce;component/mainwindow.xaml'.
I hope that is clearer.
Thanks again
alleyes
20-Aug-10 21:28pm
View
Reason for my vote of 1
Not helpful
alleyes
20-Aug-10 21:27pm
View
Perhaps this can be posted to the WPF forum to get some exposure
alleyes
20-Aug-10 15:38pm
View
I created a class derived both from DependencyObject and INotifyPropertyChanged. In it define a PropertyChanged method and associated event handler. Also, neede Dependency properties. In Window 2 code, define and set the Bindings in code because of the ActiveX control. That's where I am at.
alleyes
12-Aug-10 13:12pm
View
Reason for my vote of 2
Two examples given that are not in the context of the problem
alleyes
12-Aug-10 12:42pm
View
If using OnClosed or OnFormClosed, does that not mean the form is no longer available, thereby not setting the Cancel property?
alleyes
28-Jul-10 13:41pm
View
Reason for my vote of 5
In context to the issue discussed
alleyes
28-Jul-10 13:40pm
View
Assembly.GetEntryAssembly() was the clincher!!
Thanks for pointing out that sample
I was using Assembly.GetExecutingAssembly() and it always returned the wrong one.
Show More