Skip to content

SwitchFormInput Class

  • SwitchFormInput
  • class Esri::ArcGISRuntime::SwitchFormInput

    A user interface for a binary switch or toggle. This should be used when selecting between two options. More...

    Header: #include <SwitchFormInput.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::FormInput

    Public Functions

    virtual ~SwitchFormInput() override
    Esri::ArcGISRuntime::CodedValue offValue() const
    Esri::ArcGISRuntime::CodedValue onValue() const

    Detailed Description

    Member Function Documentation

    [override virtual noexcept] SwitchFormInput::~SwitchFormInput()

    Destructor.

    Esri::ArcGISRuntime::CodedValue SwitchFormInput::offValue() const

    Returns the coded value when switch state is off.

    Esri::ArcGISRuntime::CodedValue SwitchFormInput::onValue() const

    Returns the coded value when switch state is on.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.