In This Article

DefaultValueTemplateKind Enum

Specifies the kind of default PropertyGrid value cell template.

public enum DefaultValueTemplateKind

Fields

Name Description
Boolean

A template for editing a Boolean value with a two-state CheckBox.

Brush

A template for editing a Brush value with a swatch that renders the value, and a TextBox for editing the value.

Color

A template for editing a Color value with a swatch that renders the value, and a TextBox for editing the value.

ExtendedString

A template for editing a String value (or Object value via ValueAsString) with a TextBox and ... (ellipses) button.

FontFamily

A template for editing a FontFamily value with a ComboBox that contains system font families.

FontStretch

A template for editing a FontStretch value with a ComboBox that contains font stretch options.

FontStyle

A template for editing a FontStyle value with a ComboBox that contains font style options.

FontWeight

A template for editing a FontWeight value with a ComboBox that contains font weight options.

ImmediateString

A template for editing a String value (or Object value via ValueAsString) with a TextBox. It is the same as the String template, but has a binding that updates immediately on any change instead of on focus loss.

LimitedObject

A template for editing an Object value with a non-editable ComboBox (drop-down only) that contains suggested options.

LimitedString

A template for editing a String value (or Object value via ValueAsString) with a non-editable ComboBox (drop-down only) that contains suggested options.

None

No template is specified.

NullableBoolean

A template for editing a nullable Boolean with a three-state CheckBox.

String

A template for editing a String value (or Object value via ValueAsString) with a TextBox.

SuggestedString

A template for editing a String value (or Object value via ValueAsString) with an editable ComboBox that contains suggested options.