Custom Control as Window
I want to use Custom Title bar in my app so I must put window style on none and corner radius and shadow of window will be disappear for that actually i have three ways first one is make radius for my title bar and status bar with transparent back ground second one a grid with radius and transparent background and the third one is make a custom control and use as window element which i think its best way but i get this error: error CS0263: Partial declarations of 'MainWindow' must not specify different base classes
I checked inheritance and was ok
so first of all how is that possible to use custom control as window and second question is Is any better way to have custom title bar and properties like shadow or CornerRadius Together
1 Reply
new problem my first question was solved i forget to inheritance main window and there isn't any error but my window doesn't have corner radius