Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AllDisplayLevelsSelecteded typo #574

Merged
merged 3 commits into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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));
williambohrmann3 marked this conversation as resolved.
Show resolved Hide resolved
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
williambohrmann3 marked this conversation as resolved.
Show resolved Hide resolved
{
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
Loading