I would like to know – which WPF control can have grid as a child as I want to insert grid to control (dynamically)
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Any control that inherits from
ContentControlis capable of containing any other single control, and any control that inherits fromPanelcan contain multiple instances of any other control.In practice, this means that a large number of controls can potentially contain your
Grid. If you only want a singleGridto appear in the control, and you do not need any other specific behaviour, I would recommend using an instance ofContentControl