WPF UserControl expose ActualWidth

前端 未结 2 1864
星月不相逢
星月不相逢 2020-12-18 11:33

How do I expose the ActualWidth property of one of the components of my user control to users?

I have found plenty of examples of how to expose a normal

2条回答
  •  暖寄归人
    2020-12-18 11:50

    ActualWidth is a public readonly property (coming from FrameworkElement) and is exposed by default. What is the case that you are trying to achieve?

提交回复
热议问题