This commit is contained in:
Max Katz 2021-11-01 22:01:38 -04:00 коммит произвёл GitHub
Родитель 31dbfd6102
Коммит ac020e1a4c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -136,7 +136,7 @@ This is because if the user were to set a local value on the button, it would ov
{% endhint %} {% endhint %}
### Weird behaviour with specific properties, previous value is not restored when style is not applied anymore ### Previous value of specific properties is not restored when style is not applied anymore
In Avalonia we have multiple types of properties, and one of them, Direct Property, doesn't support styling at all. These properties work in simplified way to achive lower overhead and higher performance, and do not store multiple values depending on priority. Instead only latest value is saved and cannot be restored. You can find more details about properties [here](../authoring-controls/defining-properties.md#direct-avaloniaproperties). In Avalonia we have multiple types of properties, and one of them, Direct Property, doesn't support styling at all. These properties work in simplified way to achive lower overhead and higher performance, and do not store multiple values depending on priority. Instead only latest value is saved and cannot be restored. You can find more details about properties [here](../authoring-controls/defining-properties.md#direct-avaloniaproperties).