Show / Hide Table of Contents

    Class InputGroup

    Inheritance
    System.Object
    InputGroup
    Implements
    System.ComponentModel.INotifyPropertyChanged
    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

    true if force valid inputs; otherwise, false.

    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

    true if geotag; otherwise, false.

    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

    true if shuffle inputs; otherwise, false.

    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 true, set new random Id and Id values for the current group and Inputs associated with this InputGroup.

    Returns
    Type Description
    InputGroup

    The copy.

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type Description
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX