We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Platform : WPF
|
Category : Custom Controls

How do I make the UserControl B FILL the UserControl A it's hosted in?

You can bind B’s Width and Height to that of A’s. For example, in the XAML where you define B: If there is an ActualWidth property in A, then you might want to bind B’s Width to that instead. Do the same for Height.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.