From 44f8d9a21a14759e4edaf6569fcaceea7023a2a9 Mon Sep 17 00:00:00 2001 From: William Bohrmann <118313312+williambohrmann3@users.noreply.github.com> Date: Thu, 6 Jun 2024 12:58:21 -0700 Subject: [PATCH] Fix AllDisplayLevelsSelecteded typo (#574) --- .../FloorFilter/FloorFilter.cs | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs b/src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs index 7c5a6589b..54922a1f6 100644 --- a/src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs +++ b/src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs @@ -342,6 +342,7 @@ private void HandleControllerPropertyChanges(object? sender, PropertyChangedEven break; case nameof(_controller.AllDisplayLevelsSelected): OnPropertyChanged(nameof(AllDisplayLevelsSelecteded)); + OnPropertyChanged(nameof(AllDisplayLevelsSelected)); break; } } @@ -658,7 +659,21 @@ public void SetSelectedLevelWithoutZoom(FloorLevel newLevel) /// /// This is used for showing an entire facility in 3D. /// + [EditorBrowsable(EditorBrowsableState.Never)] + [Obsolete("This property is deprecated. Use AllDisplayLevelsSelected instead.")] public bool AllDisplayLevelsSelecteded + { + get => AllDisplayLevelsSelected; + set => AllDisplayLevelsSelected = value; + } + + /// + /// Gets or sets a value indicating whether all of the levels for the selected facility should be enabled for display. + /// + /// + /// This is used for showing an entire facility in 3D. + /// + public bool AllDisplayLevelsSelected { get => _controller.AllDisplayLevelsSelected; set @@ -673,9 +688,9 @@ public bool AllDisplayLevelsSelecteded } } } -#endregion Selection + #endregion Selection -#region Read-only list properties + #region Read-only list properties #if WINDOWS_XAML