-
Notifications
You must be signed in to change notification settings - Fork 0
properties
vijay@envivo edited this page Oct 21, 2023
·
5 revisions
Properties are rendered using a widget appropriate to the property's type. So a class like this:
public class MultiType
{
public Guid Id { get; set; }
public bool A_Boolean { get; set; }
public string A_String { get; set; }
public int An_Int { get; set; }
public double A_Double { get; set; }
public float A_Float { get; set; }
public DateTime A_DateTime { get; set; }
}Will appear like this in the UI:

All properties following standard .NET scoping rules:
- Properties with public Getters are visible in the UI
- Properties with public Setters are editable in the UI
- Internal and private properties are not visible
For example, these properties:
public string PublicGetterAndPublicSetter { get; set; }
public string PublicGetterAndHiddenSetter { get; internal set; }
internal string InternalGetterAndInternalSetter { get; set; }Would appear like so:

Code comments play a vital role in your domain model. When you add comments to your properties, the UI will display them:

Code comments should reflect the ubiquitous language (see definition here), which in turn improves the dialogue with your domain experts.
Nullable properties show an additional button to clear the value:

Copyright © 2022-2025 Envivo Software
-
Objects
-
Configuring your Model
-
Testing your model
-
Other features