Skip to content

Commit

Permalink
Fix AllDisplayLevelsSelecteded typo (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
williambohrmann3 authored Jun 6, 2024
1 parent 44c4114 commit 44f8d9a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/Toolkit/Toolkit.UI.Controls/FloorFilter/FloorFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ private void HandleControllerPropertyChanges(object? sender, PropertyChangedEven
break;
case nameof(_controller.AllDisplayLevelsSelected):
OnPropertyChanged(nameof(AllDisplayLevelsSelecteded));
OnPropertyChanged(nameof(AllDisplayLevelsSelected));
break;
}
}
Expand Down Expand Up @@ -658,7 +659,21 @@ public void SetSelectedLevelWithoutZoom(FloorLevel newLevel)
/// <remarks>
/// This is used for showing an entire facility in 3D.
/// </remarks>
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This property is deprecated. Use AllDisplayLevelsSelected instead.")]
public bool AllDisplayLevelsSelecteded
{
get => AllDisplayLevelsSelected;
set => AllDisplayLevelsSelected = value;
}

/// <summary>
/// Gets or sets a value indicating whether all of the levels for the selected facility should be enabled for display.
/// </summary>
/// <remarks>
/// This is used for showing an entire facility in 3D.
/// </remarks>
public bool AllDisplayLevelsSelected
{
get => _controller.AllDisplayLevelsSelected;
set
Expand All @@ -673,9 +688,9 @@ public bool AllDisplayLevelsSelecteded
}
}
}
#endregion Selection
#endregion Selection

#region Read-only list properties
#region Read-only list properties

#if WINDOWS_XAML

Expand Down

0 comments on commit 44f8d9a

Please sign in to comment.