Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 12366

Use the power of Reflection to Create and manipulate managed objects

$
0
0
When you create a Windows Presentation Foundation (WPF) project in Visual Studio, references to WPF libraries, like PresentationFrameworks.dll, PresentationCore.dll, WindowsBase.dll, are automatically added, from which you can create types and invoke members. That makes the code to create a couple controls and show them in a window quite simple. (A WPF application already creates a window for you). This sample directly manipulates properties, events, methods, and enums. private void MainWindow_Loaded...(read more)

Viewing all articles
Browse latest Browse all 12366

Trending Articles