IDGO-6443 avatar image
0 Votes"
IDGO-6443 asked RichardZhang-MSFT commented

Hide all Default Properties and Event Handlers from UserControl

Hide all Default Properties and Event Handlers from UserControl while Implementation

  1. When I implement UserControl in MainPage.XAML , I want to hide all default properties or dependency Properties and Handler's,

  2. I want Only New Dependency Property or New Property.


· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, creating your own UserControl actually inherits the UserControl base class. In this process, it inherits the properties, methods, and events that come with UserControl. Can you explain why you want to hide these properties?

0 Votes 0 ·

End user getting confused seeing so many properties with multiple control in a usercontrol...tried below its not working



properties are not hiding or removing

0 Votes 0 ·

Hi, I am sorry for my previous answer. I tried your code, in UWP, it did not affect the access to the actual properties. I noticed that you also added a WPF tag. Is your project a UWP project or a WPF project?

0 Votes 0 ·
Show more comments

0 Answers