Show / Hide Table of Contents

    Class SliderInput

    Inheritance
    System.Object
    Input
    SliderInput
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IVariableDefiningInput
    Inherited Members
    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 SliderInput : Input, INotifyPropertyChanged, IVariableDefiningInput

    Constructors

    SliderInput()

    Declaration
    public SliderInput()

    SliderInput(String, Double, Double)

    Declaration
    public SliderInput(string labelText, double minimum, double maximum)
    Parameters
    Type Name Description
    System.String labelText
    System.Double minimum
    System.Double maximum

    SliderInput(String, String, Double, Double)

    Declaration
    public SliderInput(string labelText, string name, double minimum, double maximum)
    Parameters
    Type Name Description
    System.String labelText
    System.String name
    System.Double minimum
    System.Double maximum

    Fields

    EFFECT_RESOLUTION_EFFECT_NAME

    Declaration
    public const string EFFECT_RESOLUTION_EFFECT_NAME = "SliderInputEffect"
    Field Value
    Type Description
    System.String

    EFFECT_RESOLUTION_NAME

    Declaration
    public const string EFFECT_RESOLUTION_NAME = "InputEffects.SliderInputEffect"
    Field Value
    Type Description
    System.String

    Properties

    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, 2, false)]
    public string DefinedVariable { get; set; }
    Property Value
    Type Description
    System.String

    The defined variable.

    DisplayMinMax

    Whether or not to display the minimum and maximum values of the slider.

    Declaration
    [OnOffUiProperty("Display Min and Max:", true, 16)]
    public bool DisplayMinMax { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to display the minimum and maximum; otherwise, false.

    DisplaySliderValue

    Whether or not the slider's current value should be displayed.

    Declaration
    [OnOffUiProperty("Display Slider Value:", true, 15)]
    public bool DisplaySliderValue { get; set; }
    Property Value
    Type Description
    System.Boolean

    true to display slider value; otherwise, false.

    Enabled

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

    Increment

    How much the slider's value should change between points.

    Declaration
    [EntryDoubleUiProperty(null, true, 12, true)]
    public double Increment { get; set; }
    Property Value
    Type Description
    System.Double

    The increment.

    LeftLabel

    Label to display at the left end of the slider range.

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

    The left label.

    Maximum

    Maximum value available on the slider.

    Declaration
    [EntryDoubleUiProperty(null, true, 11, true)]
    public double Maximum { get; set; }
    Property Value
    Type Description
    System.Double

    The maximum.

    Minimum

    Minimum value available on the slider.

    Declaration
    [EntryDoubleUiProperty(null, true, 10, true)]
    public double Minimum { get; set; }
    Property Value
    Type Description
    System.Double

    The minimum.

    RightLabel

    Label to display at the right end of the slider range.

    Declaration
    [EntryStringUiProperty("Right Label:", true, 14, false)]
    public string RightLabel { get; set; }
    Property Value
    Type Description
    System.String

    The left label.

    TipText

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

    Declaration
    [EntryStringUiProperty("Tip Text:", true, 9, 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