Show / Hide Table of Contents

    Class ItemPickerDialogInput

    Inheritance
    System.Object
    Input
    ItemPickerInput
    ItemPickerDialogInput
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IVariableDefiningInput
    Inherited Members
    ItemPickerInput.RandomizeItemOrder
    ItemPickerInput.IncludeOtherOption
    ItemPickerInput.OtherOptionText
    Input.EFFECT_RESOLUTION_GROUP_NAME
    Input.CreateLabel(Int32)
    Input.GetLabelText(Int32)
    Input.SetView(View)
    Input.Reset()
    Input.ValueMatches(Object, Boolean)
    Input.Copy(Boolean)
    Input.Name
    Input.Id
    Input.GroupId
    Input.LabelText
    Input.LabelFontSize
    Input.DisplayNumber
    Input.Complete
    Input.Valid
    Input.Store
    Input.Latitude
    Input.Longitude
    Input.LocationUpdateTimestamp
    Input.Required
    Input.Viewed
    Input.CompletionTimestamp
    Input.DisplayConditions
    Input.BackgroundColor
    Input.Padding
    Input.Frame
    Input.CompletionRecords
    Input.StoreCompletionRecords
    Input.Display
    Input.SubmissionTimestamp
    Input.Caption
    Input.TriggeringDatum
    Input.PropertyChanged
    Namespace: Sensus.UI.Inputs
    Assembly: SensusAndroid.dll
    Syntax
    public class ItemPickerDialogInput : ItemPickerInput, INotifyPropertyChanged, IVariableDefiningInput

    Constructors

    ItemPickerDialogInput()

    Declaration
    public ItemPickerDialogInput()

    ItemPickerDialogInput(String, String, List<String>)

    Declaration
    public ItemPickerDialogInput(string labelText, string tipText, List<string> items)
    Parameters
    Type Name Description
    System.String labelText
    System.String tipText
    System.Collections.Generic.List<System.String> items

    ItemPickerDialogInput(String, String, String, List<String>)

    Declaration
    public ItemPickerDialogInput(string labelText, string name, string tipText, List<string> items)
    Parameters
    Type Name Description
    System.String labelText
    System.String name
    System.String tipText
    System.Collections.Generic.List<System.String> items

    Properties

    AllowClearSelection

    Whether or not to allow the user to clear the current selection.

    Declaration
    [OnOffUiProperty("Allow Clear Selection:", true, 12)]
    public bool AllowClearSelection { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to allow clear selection; otherwise, false.

    DefaultName

    Declaration
    public override string DefaultName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Input.DefaultName

    DefinedVariable

    The name of the variable in VariableValueUiProperty that this input should define the value for. For example, if you wanted this input to supply the value for a variable named study-name, then set this field to study-name and the user's selection will be used as the value for this variable.

    Declaration
    [EntryStringUiProperty("Define Variable:", true, 13, false)]
    public string DefinedVariable { get; set; }
    Property Value
    Type Description
    System.String

    The defined variable.

    Enabled

    Declaration
    public override bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Input.Enabled

    Items

    These are the items that the user will have to select from.

    Declaration
    [EditableListUiProperty(null, true, 11, true)]
    public List<string> Items { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    The items.

    TipText

    A short tip that explains how to pick an item from the dialog window.

    Declaration
    [EntryStringUiProperty("Tip Text:", true, 10, false)]
    public string TipText { get; set; }
    Property Value
    Type Description
    System.String

    The tip text.

    Value

    Declaration
    public override object Value { get; }
    Property Value
    Type Description
    System.Object
    Overrides
    Input.Value

    Methods

    GetView(Int32)

    Declaration
    public override View GetView(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    Xamarin.Forms.View
    Overrides
    Input.GetView(Int32)

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Input.ToString()

    Implements

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