UxmlStringAttributeDescription.TryGetValueFromBag

Declaration

public bool TryGetValueFromBag(UIElements.IUxmlAttributes bag, UIElements.CreationContext cc, ref string value);

Parameters

bag The bag of attributes.
cc The context in which the values are retrieved.
value The value of the attribute.

Returns

bool True if the value is found, false otherwise.

Description

Attempts to retrieve the value of this attribute from the attribute bag and returns true if found, otherwise false.


Did you find this page useful? Please give it a rating: