public new static void Parse(XNode node, DefinitionFile file) { UiButton.Parse(node, file); var parser = new DefinitionParser(node); file["Checked"] = parser.ParseBoolean("Checked"); }
public new static void Parse(XNode node, DefinitionFile file) { UiButton.Parse(node, file); var parser = new DefinitionParser(node); file["Value"] = parser.ParseInt("Value"); file["SelectedValue"] = parser.ParseInt("SelectedValue"); }
public new static void Parse(XNode node, DefinitionFile file) { UiButton.Parse(node, file); var parser = new DefinitionParser(node); file["Context"] = parser.ParseString("Context"); file["Spacing"] = parser.ParseLength("Spacing"); file["ElementWidth"] = parser.ParseLength("ElementWidth"); file["ElementHeight"] = parser.ParseLength("ElementHeight"); file["Mode"] = parser.ParseEnum <Mode>("Mode"); file["HorizontalContentAlignment"] = parser.ParseEnum <HorizontalContentAlignment>("HorizontalContentAlignment"); file["VerticalContentAlignment"] = parser.ParseEnum <VerticalContentAlignment>("VerticalContentAlignment"); }
public new static void Parse(XNode node, DefinitionFile file) { UiButton.Parse(node, file); var parser = new DefinitionParser(node); file["Hint"] = parser.ParseString("Hint"); file["InputType"] = parser.ParseEnum <TextInputType>("InputType"); file["CancelOnLostFocus"] = parser.ParseBoolean("CancelOnLostFocus"); file["TextApply"] = parser.ParseDelegate("TextApply"); file["TextCancel"] = parser.ParseDelegate("TextCancel"); file["TextChanged"] = parser.ParseDelegate("TextChanged"); file["LostFocus"] = parser.ParseDelegate("LostFocus"); file["Return"] = parser.ParseDelegate("Return"); file["MaxLength"] = parser.ParseInt("MaxLength"); file["IsFocused"] = parser.ParseBoolean("IsFocused"); }