EntryAttribute EntryAttribute Class

Definition

Apply this attribute to strings to produce an editing row.

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field, Inherited=false)]
public class EntryAttribute : Attribute
type EntryAttribute = class
    inherit Attribute
Inheritance
EntryAttributeEntryAttribute
Derived
Attributes

Remarks

You can specify the kind of UIKeyboardType for data entry by setting KeyboardType property.


class Login {
	[Entry ("Enter your name")]
	string Name; 
[Entry ("Enter your password")]
[Password]
string Password;

[Entry (Placeholder="Your numeric Pin", KeyboardType=UIKeyboardType.NumberPad]
string Pin;

}

Constructors

EntryAttribute() EntryAttribute()

Public constructor

EntryAttribute(String) EntryAttribute(String)

Public constructor

Fields

AutocapitalizationType AutocapitalizationType

Controls the autocapitalization kind for the entry.

AutocorrectionType AutocorrectionType

Controls the autocorrection type for the entry.

ClearButtonMode ClearButtonMode

Controls whether the standard clear button widget appears on the entry.

KeyboardType KeyboardType

Specifies the kind of keyboard type to use for the data entry

Placeholder Placeholder

The placeholder to display if the input string is empty

Applies to