spiegelp / MaterialDesignExtensions

Material Design Extensions is based on Material Design in XAML Toolkit to provide additional controls and features for WPF apps
https://spiegelp.github.io/MaterialDesignExtensions/
MIT License
754 stars 122 forks source link

OpenDirectoryControl event #80

Open mey1k opened 4 years ago

mey1k commented 4 years ago

hi

I use OpenDirectoryControl

code.cs OpenDirectoryDialogResult result = await OpenDirectoryDialog.ShowDialogAsync(main.TestDialog, dialogArgs);

then It works.

but, OpenDirectoryControl_DirectorySelected and OpenDirectoryControl_Cancel events

does not working..

why?

mey1k commented 4 years ago

I soved this problem.

I use mde:OpenDirectoryControl.DirectorySelected="OpenDirectoryControl_DirectorySelected" in mainwindow.xaml

but, Nowhere I couldn't find any explanation for this.

It seems a little vague. I want you to explain it in more detail in the doc.

Is it because of my lack of wpf knowledge?