UxmlBoolAttributeDescription.GetValueFromBag

声明

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

参数

bag 属性包。
cc 检索值所在的上下文。

返回值

bool 属性的值。

说明

从属性包中检索此属性的值。如果找到该值,则返回该值;否则,返回 defaultValue。


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