Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 2.24 KB

README.EN-US.md

File metadata and controls

64 lines (38 loc) · 2.24 KB

ObjectDesign

Auto generate object proxy visitor

codecov Codacy Badge

Language

简体中文 English

Build Status

Provider Status
Github .NET
Azure Pipline Build Status

What is this

It provider a way to dynamic proxy object, and then you can visitor them at anywhere, such as geneate design ui, to provide use design.

How to use

Proxy object

//To generate object proxy.
var proxy=ObjectDesigner.Instance.CreateProxy(obj,obj.GetType());
//Get this layout property proxies
var propProxies=proxy.GetPropertyProxies()

To see sample ObjectDesignRW

Generate wpf design ui

You can use type ForViewBuilder<TView, TContext>, the project Ao.ObjectDesign.Wpf support direct generate ui and DataTemplateSelector way to create ui by proxy data.

The project Ao.ObjectDesign.Wpf support manay wpf component designer, such as Point, Rect, Thickness...

The project Ao.ObjectDesign.Controls support any wpf controls settings, such as Button, CheckBox, TextBox...

If you do not want make all properties proxy and generate ui, you can design yourself type.

If you want save/load the settings, you can use project Ao.ObjectDesign.Wpf.Json.

To see sample ObjectDesign.Wpf

Next

  • Add more unit tests
  • Add step recorder, add sequencer