I
I
Ilya2021-05-01 17:12:39
WPF
Ilya, 2021-05-01 17:12:39

How to change style dynamically through code?

At compile time, the program creates several buttons and assigns a style to them, I need to change the name and autor parameters at compile time, how to implement this?
Here is the button:608d619d97921084693516.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
HemulGM, 2021-05-01
@HemulGM

During compilation, the program does not create anything for you. It does nothing at all during compilation, it compiles. Everything is created at startup.
Judging by your question, you have no idea at all what a code and a program are. So my answer is: Learn a little bit of C# and then go to the forums with questions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question