public GetAttributeInt ( string attrName ) : int | ||
attrName | string | |
return | int |
public int GetAttributeInt(string attrName)
{
return GetAttributeInt(attrName, 0);
}
XML::GetAttributeInt ( string attrName, int defValue ) : int |
public override void Setup_BeforeAdd(Utils.XML xml) { base.Setup_BeforeAdd(xml); string str = xml.GetAttribute("prompt"); if (str != null) { inputTextField.promptText = str; } inputTextField.displayAsPassword = xml.GetAttributeBool("password", false); inputTextField.restrict = xml.GetAttribute("restrict"); inputTextField.maxLength = xml.GetAttributeInt("maxLength", 0); inputTextField.keyboardType = xml.GetAttributeInt("keyboardType"); }