Class InputGroup
Inheritance
Implements
Namespace: Sensus.UI.Inputs
Assembly: SensusAndroid.dll
Syntax
public class InputGroup : Object, INotifyPropertyChanged
Constructors
InputGroup()
Declaration
public InputGroup()
Properties
ForceValidInputs
Whether or not to force valid input values (e.g., all required fields completed, etc.) before allowing the user to move to the next input group.
Declaration
[OnOffUiProperty("Force Valid Inputs:", true, 2)]
public bool ForceValidInputs { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Geotag
Whether or not to tag inputs in this group with the device's current GPS location.
Declaration
[OnOffUiProperty(null, true, 1)]
public bool Geotag { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Id
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Inputs
Declaration
public ObservableCollection<Input> Inputs { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<Input> |
Name
Name of the input group.
Declaration
[EntryStringUiProperty(null, true, 0, true)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
ShuffleInputs
Whether or not to randomly shuffle the inputs in this group when displaying them to the user.
Declaration
[OnOffUiProperty("Shuffle Inputs:", true, 3)]
public bool ShuffleInputs { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Valid
Gets a value indicating whether this InputGroup is valid. A valid input group is one in which each Input in the group is valid. An input group with no inputs is deemed valid by default.
Declaration
public bool Valid { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Copy(Boolean)
Creates a copy of this InputGroup.
Declaration
public InputGroup Copy(bool newId)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | newId | If set to |
Returns
Type | Description |
---|---|
InputGroup | The copy. |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |