.net - What features of WPF that are available through XAML are not available through C# (or VB, ...) -


Is it possible to use all WPF functionality in C # (VB, ...)? Or is there any advanced functionality that is not directly accessible from C #? (Maybe because it can not be accessible by public means, but internally.)

something Not really, the actual parsing and processing of XAML files (assigning values ​​to properties, binding for events ...) is finally done by the mandatory C # code.

However, it can be more difficult to set object properties using C # / VBC; UI designers know XAML but not C # / VB; And XML is probably more tool than the C # source. These factors make XAML a useful technique.


Comments