public Type GetValueFromBag (UIElements.IUxmlAttributes bag, UIElements.CreationContext cc);

Parámetros

bagThe attribute bag.
ccThe context in which the method retrieves attribute values.

Valor de retorno

Type The attribute's value. If the method cannot find the value, returns defaultValue.

Descripción

Method that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue.