Ask Your Question
2

Is it prohibited to specify different classes in XAML partial declarations?

asked 2023-05-19 13:01:38 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-19 13:03:01 +0000

ladyg gravatar image

No, it is not prohibited to specify different classes in XAML partial declarations. However, it may not be recommended as it can sometimes cause confusion or issues with code readability and maintainability. It is generally better to use partial classes to split the implementation of a single class across multiple files, rather than to define different classes in different file parts.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-19 13:01:38 +0000

Seen: 19 times

Last updated: May 19 '23