ToggleVisibilityAttribute Constructor

Specifies that a property should render a toggle switch in the UI that allows the user to disable and/or reset the properties value.

Definition

Namespace: Gemstone.ComponentModel.DataAnnotations
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.170 -- Release Build+d52ae7197b8b2924ea9e1e530d25301718816611
public ToggleVisibilityAttribute(
	string label,
	bool triggerValue = false
)

Parameters

label  String

[Missing <param name="label"/> documentation for "M:Gemstone.ComponentModel.DataAnnotations.ToggleVisibilityAttribute.#ctor(System.String,System.Boolean)"]

triggerValue  Boolean  (Optional)

[Missing <param name="triggerValue"/> documentation for "M:Gemstone.ComponentModel.DataAnnotations.ToggleVisibilityAttribute.#ctor(System.String,System.Boolean)"]

See Also