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.
Namespace: Gemstone.ComponentModel.DataAnnotationsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public ToggleVisibilityAttribute(
string label,
bool triggerValue = false
)
Public Sub New (
label As String,
Optional triggerValue As Boolean = false
)
public:
ToggleVisibilityAttribute(
String^ label,
bool triggerValue = false
)
Gemstone.ComponentModel.DataAnnotations.ToggleVisibilityAttribute = function(label, triggerValue);
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)"]