This commit is contained in:
hootyjeremy 2022-04-01 16:29:39 -05:00 коммит произвёл GitHub
Родитель 374cede528
Коммит f147aac7ad
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -56,13 +56,13 @@ namespace Example
}
```
```text
```markup
<Window xmlns="https://github.com/avaloniaui">
<Button Command="{Binding DoTheThing}" CommandParameter="Hello World">Do the thing!</Button>
</Window>
```
Note that no type conversion is carried out on `CommandParameter`, so if you need you type parameter to be something other than `string` you must supply an object of that type in XAML. For example to pass an `int` parameter you could use:
Note that no type conversion is carried out on `CommandParameter`, so if you need your type parameter to be something other than `string` you must supply an object of that type in XAML. For example to pass an `int` parameter you could use:
```markup
<Window xmlns="https://github.com/avaloniaui"