6 writes to SelectedPath
System.Windows.Forms (3)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (3)
431
SelectedPath
= ppszName.ToStringAndCoTaskMemFree();
467
SelectedPath
= folder;
472
SelectedPath
= string.Empty;
System.Windows.Forms.Tests (3)
System\Windows\Forms\FolderBrowserDialogTests.cs (3)
162
SelectedPath
= value
178
dialog.
SelectedPath
= value;
280
SelectedPath
= @"C:\",
9 references to SelectedPath
System.Windows.Forms (3)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (3)
18
[DefaultProperty(nameof(
SelectedPath
))]
501
if (instance.
SelectedPath
.Length != 0)
504
PInvokeCore.SendMessage(hwnd, PInvoke.BFFM_SETSELECTIONW, (WPARAM)(BOOL)true, instance.
SelectedPath
);
System.Windows.Forms.Tests (6)
System\Windows\Forms\FolderBrowserDialogTests.cs (6)
20
Assert.Empty(dialog.
SelectedPath
);
164
Assert.Equal(value ?? string.Empty, dialog.
SelectedPath
);
169
Assert.Equal(dialog.
SelectedPath
, dialog.SelectedPaths[0]);
179
Assert.Equal(value ?? string.Empty, dialog.
SelectedPath
);
183
Assert.Equal(dialog.
SelectedPath
, dialog.SelectedPaths[0]);
298
Assert.Empty(dialog.
SelectedPath
);