Is there a way to change the name of OpenFileDialog in Silverlight 3?

I am using OpenFileDialog in a Silverlight 3 application (sample code below).

        OpenFileDialog dialog = new OpenFileDialog();
        dialog.Multiselect = false;            
        dialog.Filter = "XML Schemas (*.xsd)|*.xsd";
        dialog.ShowDialog();

It was a surprise to me that there is no such property as “Name” to determine the name of the dialogue. So I wonder if there is a workaround to set a custom title for this dialog.

Thanks in advance.

+3
source share
1 answer

There is no work (in SL4 too).

Microsoft seems to have taken an approach (one that seems to me quite reasonable) that supports the APIs of this kind of sensitive thing (which allows access to the main system) to a minimum.

, SL , .

+2

Source: https://habr.com/ru/post/1741079/


All Articles