Skip to content

TypeConverter implementation for Units #189

Closed
@celsound

Description

@celsound

Hi,

One feature I've found myself wanting in UnitsNet is the ability to edit unit types in a PropertyGrid. As of now, the property grid will display the ToString() method of the unit (which works great). However, the Unit properties may not be edited.

(See http://csharphelper.com/blog/2014/09/use-a-type-converter-with-a-propertygrid-control-in-c/)

Something like this is probably really easy to implement using the TryParse methods already present in UnitsNet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions