Click here to Skip to main content
12,629,107 members (36,015 online)
Click here to Skip to main content

Stats

19.9K views
782 downloads
45 bookmarked
Posted

ObjectPresenter - How to Generate an Object's Testing GUI from a Given Object

, 5 Jan 2012 CPOL
In this article, I explain step by step, how we can create a WPF custom control that gets an object and, generates a GUI that enables editing that object's properties and invoking that object's methods.
ObjectPresentation_Demo
Client
ObjectPresentation.dll
ObjectPresentation.Examples.Client.exe
ObjectPresentation.Examples.Client.pdb
ObjectPresentation.Examples.Contracts.dll
ObjectPresentation.Examples.Contracts.pdb
ObjectPresentation.pdb
Server
ObjectPresentation.Examples.Contracts.dll
ObjectPresentation.Examples.Contracts.pdb
ObjectPresentation.Examples.Server.exe
ObjectPresentation.Examples.Server.pdb
ObjectPresentation.Examples.Service.dll
ObjectPresentation.Examples.Service.pdb
WcfLogPrints.dll
ObjectPresentation_src
ObjectPresentation
bin
Debug
Release
obj
Debug
Properties
Styles
Themes
ObjectPresentation.Examples.Client
bin
Debug
Release
obj
x86
Debug
Properties
ObjectPresentation.Examples.Contracts
bin
Debug
Release
obj
Debug
Properties
ObjectPresentation.Examples.Server
bin
Debug
Release
obj
x86
Debug
Properties
ObjectPresentation.Examples.Service
bin
Debug
obj
Debug
Properties
WcfLogPrints.dll
ObjectPresentation.suo
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace ObjectPresentation.Examples.Client
{
    /// <summary>
    /// Interaction logic for ValuePresenterExample.xaml
    /// </summary>
    public partial class ValuePresenterExample : Window
    {
        public ValuePresenterExample()
        {
            InitializeComponent();
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Shmuel Zang
Software Developer
Israel Israel
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161205.3 | Last Updated 5 Jan 2012
Article Copyright 2012 by Shmuel Zang
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid