2 writes to _initialDirectory
System.Windows.Forms (2)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (2)
191set => _initialDirectory = value ?? string.Empty; 263_initialDirectory = string.Empty;
7 references to _initialDirectory
System.Windows.Forms (7)
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (7)
190get => _initialDirectory; 256[MemberNotNull(nameof(_initialDirectory))] 355if (!string.IsNullOrEmpty(_initialDirectory)) 357using ComScope<IShellItem> initialDirectory = new(PInvoke.SHCreateShellItem(_initialDirectory)); 371if (parent is null || !string.IsNullOrEmpty(_initialDirectory) || !Directory.Exists(parent)) 495if (instance._initialDirectory.Length != 0) 498PInvokeCore.SendMessage(hwnd, PInvoke.BFFM_SETEXPANDED, (WPARAM)(BOOL)true, instance._initialDirectory);