static void UpdatePathSeparatorVisibility(AppendingPathTextBox control) { if (!string.IsNullOrEmpty(control.ParentFolderPath)) { control.PathSeparatorVisibility = control.ParentFolderPath.EndsWith("\\", StringComparison.Ordinal) ? Visibility.Collapsed : Visibility.Visible; } else { control.PathSeparatorVisibility = Visibility.Collapsed; } }
static void UpdatePathSeparatorVisibility(AppendingPathTextBox control) { if (!string.IsNullOrEmpty(control.ParentFolderPath)) { control.PathSeparatorVisibility = control.ParentFolderPath.EndsWith("\\", StringComparison.Ordinal) ? Visibility.Collapsed : Visibility.Visible; } else { control.PathSeparatorVisibility = Visibility.Collapsed; } }
static void UpdateChildFolderVisibilityVisibility(AppendingPathTextBox control) { control.ChildFolderVisibility = string.IsNullOrEmpty(control.ParentFolderPath) ? Visibility.Collapsed : Visibility.Visible; }
static void UpdateChildFolderVisibilityVisibility(AppendingPathTextBox control) { control.ChildFolderVisibility = string.IsNullOrEmpty(control.ParentFolderPath) ? Visibility.Collapsed : Visibility.Visible; }