M
M
Maxim Siomin2020-08-31 21:42:47
WPF
Maxim Siomin, 2020-08-31 21:42:47

How to create such a block in wpf?

How to create a block in wpf, for example a button, so that it is 60% of the monitor. For example, if the monitor is Full HD, the width of the button should be 1152 pixels.
<Button Content="1" Width="60 % от монитора"/>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-08-31
@Makaroshka007

you can insert any size and then change it in the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question