Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guorg/gu.wpf.propertygrid
Small lib with styles for using ItemsControl as a property grid.
https://github.com/guorg/gu.wpf.propertygrid
Last synced: about 4 hours ago
JSON representation
Small lib with styles for using ItemsControl as a property grid.
- Host: GitHub
- URL: https://github.com/guorg/gu.wpf.propertygrid
- Owner: GuOrg
- License: mit
- Created: 2015-11-08T20:37:45.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-05T16:59:57.000Z (over 2 years ago)
- Last Synced: 2024-11-09T12:18:02.152Z (11 days ago)
- Language: C#
- Size: 1.15 MB
- Stars: 25
- Watchers: 7
- Forks: 9
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Gu.PropertyGrid
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.md)
[![Build status](https://ci.appveyor.com/api/projects/status/vhg6ru7ennq82ek7/branch/master?svg=true)](https://ci.appveyor.com/project/JohanLarsson/gu-wpf-propertygrid/branch/master)
[![NuGet](https://img.shields.io/nuget/v/Gu.Wpf.PropertyGrid.svg)](https://www.nuget.org/packages/Gu.Wpf.PropertyGrid/)
[![NuGet](https://img.shields.io/nuget/v/Gu.Wpf.PropertyGrid.NumericSettingControls.svg)](https://www.nuget.org/packages/Gu.Wpf.PropertyGrid.NumericSettingControls/)
[![NuGet](https://img.shields.io/nuget/v/Gu.Wpf.PropertyGrid.UnitSettingControls.svg)](https://www.nuget.org/packages/Gu.Wpf.PropertyGrid.UnitSettingControls/)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JohanLarsson/Gu.Wpf.PropertyGrid?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)Library with controls for making property grids
**Note:** Master branch & docs are not in sync with the nuget, sry about this.
## Sample
```xaml
```
Renders:
![Render](http://i.stack.imgur.com/DkWs1.gif)
## AttachedProperties
### Grid
Made RowDefinitions & ColumnDefinitions attached properties so that the grid can be styled if many grids need the same rows and columns.##### Sample style
When used in a style either the style must have `x:Shared="False"` or the rows and columns can be declared with `x:Shared="False"` like this:
About [x:Shared](https://msdn.microsoft.com/en-us/library/aa970778(v=vs.110).aspx) in short it means that instances in resources are not reused.```
<Setter Property="propertyGrid:Grid.RowDefinitions" Value="{StaticResource RowDefinitions}" />
<Setter Property="propertyGrid:Grid.ColumnDefinitions" Value="{StaticResource ColumnDefinitions}" />```
##### Xaml sample
Wrote typeconverters so that they can be used in xaml like this:```
```
### OneWayToSource
Attached property that lets you bind readonly dependency properties `OneWayToSource`to datacontes.##### Sample
``````