Friday, May 10, 2019

WPF : How to create and use Dependency Property for Window



How to create and use Dependency Property for Window
I am creating a dependency property in MainWindow class and trying to set it's value and use it in MainWindow.xaml.

I have created a dummy dependency property "Count" and used it to set lable's content.


No comments:

Post a Comment

C# Record type: Something to remember while using record types

  Record in c# provide a concise and expressive way to create immutable data types, record is a keyword in c#, we can use this keyword with ...