protected void ParseKnownAttributes(XElement node, AttributesHelper attributes, ParseResult result, string baseUri, bool addImageQuery) { if (Context != NotificationType.Toast) { // hint-textStacking is optional HintTextStacking hintTextStacking; if (TryParseEnum(result, attributes, ATTR_TEXT_STACKING, out hintTextStacking)) { this.HintTextStacking = hintTextStacking; } } }
internal virtual void ParseKnownAttributes(AttributesHelper attributes, ParseResult result, string baseUri, bool addImageQuery) { // hint-weight ParseHintWeight(attributes, result); // hint-textStacking is optional HintTextStacking hintTextStacking; if (TryParseEnum(result, attributes, ATTR_SUBGROUP_HINT_TEXT_STACKING, out hintTextStacking)) { this.HintTextStacking = hintTextStacking; } if (Context != NotificationType.Tile && Context != NotificationType.Toast) { // actionId is optional var attrActionId = attributes.PopAttribute(ATTR_ACTIONID); if (attrActionId != null) { this.ActionId = attrActionId.Value; } } }