UIElements.ICustomStyle.TryGetValue
Объявление
public bool TryGetValue(CustomStyleProperty property, out float value);public bool TryGetValue(CustomStyleProperty property, out int value);
public bool TryGetValue(CustomStyleProperty property, out bool value);
public bool TryGetValue(CustomStyleProperty property, out Color value);
public bool TryGetValue(CustomStyleProperty property, out Texture2D value);
public bool TryGetValue(CustomStyleProperty property, out string value);
Возвращает
bool true, если свойство найдено, и false, если нет.
Описание
Получает значение, связанное с указанным CustomStyleProperty.
Обновлено 17 ноября 2026 г.