Aspose::Email::Amp::FormField Class Reference

Describe one field of form. More...

Inherits Object.

Public Member Functions

ASPOSE_EMAIL_SHARED_API System::String get_Label () const
 Get or set label of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_Label (System::String value)
 Get or set label of field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_InputType () const
 Get or set input type of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_InputType (System::String value)
 Get or set input type of field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Name () const
 Get or set name of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_Name (System::String value)
 Get or set name of field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Id () const
 Get or set Id of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_Id (System::String value)
 Get or set Id of field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Placeholder () const
 Get or set placeholder of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_Placeholder (System::String value)
 Get or set placeholder of field. More...
 
ASPOSE_EMAIL_SHARED_API System::String get_Value () const
 Get or set value of field. More...
 
ASPOSE_EMAIL_SHARED_API void set_Value (System::String value)
 Get or set value of field. More...
 
ASPOSE_EMAIL_SHARED_API bool get_IsRequired () const
 Get or set value that define field as required. More...
 
ASPOSE_EMAIL_SHARED_API void set_IsRequired (bool value)
 Get or set value that define field as required. More...
 
ASPOSE_EMAIL_SHARED_API FormField ()
 Create instance of form field. More...
 
ASPOSE_EMAIL_SHARED_API FormField (System::String label)
 Create instance of form field. More...
 
ASPOSE_EMAIL_SHARED_API FormField (System::String label, System::String inputType)
 Create instance of form field. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToAmpHtml ()
 Represents amp html version of field. More...
 
virtual ASPOSE_EMAIL_SHARED_API System::String ToHtml ()
 Represents html version of field. More...
 

Detailed Description

Describe one field of form.

Constructor & Destructor Documentation

◆ FormField() [1/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Amp::FormField::FormField ( )

Create instance of form field.

◆ FormField() [2/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Amp::FormField::FormField ( System::String  label)

Create instance of form field.

Parameters
labellabel of field

◆ FormField() [3/3]

ASPOSE_EMAIL_SHARED_API Aspose::Email::Amp::FormField::FormField ( System::String  label,
System::String  inputType 
)

Create instance of form field.

Parameters
labellabel of field
inputTypeinput type of field

Member Function Documentation

◆ get_Id()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_Id ( ) const

Get or set Id of field.

◆ get_InputType()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_InputType ( ) const

Get or set input type of field.

◆ get_IsRequired()

ASPOSE_EMAIL_SHARED_API bool Aspose::Email::Amp::FormField::get_IsRequired ( ) const

Get or set value that define field as required.

◆ get_Label()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_Label ( ) const

Get or set label of field.

◆ get_Name()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_Name ( ) const

Get or set name of field.

◆ get_Placeholder()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_Placeholder ( ) const

Get or set placeholder of field.

◆ get_Value()

ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::get_Value ( ) const

Get or set value of field.

◆ set_Id()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_Id ( System::String  value)

Get or set Id of field.

◆ set_InputType()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_InputType ( System::String  value)

Get or set input type of field.

◆ set_IsRequired()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_IsRequired ( bool  value)

Get or set value that define field as required.

◆ set_Label()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_Label ( System::String  value)

Get or set label of field.

◆ set_Name()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_Name ( System::String  value)

Get or set name of field.

◆ set_Placeholder()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_Placeholder ( System::String  value)

Get or set placeholder of field.

◆ set_Value()

ASPOSE_EMAIL_SHARED_API void Aspose::Email::Amp::FormField::set_Value ( System::String  value)

Get or set value of field.

◆ ToAmpHtml()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::ToAmpHtml ( )
virtual

Represents amp html version of field.

Returns

◆ ToHtml()

virtual ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Amp::FormField::ToHtml ( )
virtual

Represents html version of field.

Returns