Windows Presentation Foundation (WPF) Question:
From where the execution start in WPF application?
Answer:
WPF applications created in Visual Studio run without a Main method. This is because the applications are special-cased when they are compiled from XAML. That means, Visual Studio attaches a Build Action of ApplicationDefinition to the XAML file. This results in the auto generation of a Main method.
Previous Question | Next Question |
How you can make a ToolTip appear while hovering over a disabled element? | Why ListBox made to scroll smoothly? |